09-25 leetcode 0389
题目
You are given two strings s and t.
String t is generated by random shuffling string s and then add one more letter at a random position.
Return the letter that was added to t.
题解
直接暴力求解
1 | from collections import Counter |
Comments