python 找不一樣 Find the Difference

給定兩個字符串 s 和 t,它們只包含小寫字母。python 字符串 t 由字符串 s 隨機重排,而後在隨機位置添加一個字母。code 請找出在 t 中被添加的字母。blog 示例:字符串 輸入: s = "abcd" t = "abcde"get 輸出: eio 解釋: 'e' 是那個被添加的字母。class class Solution(object): def findTheDiff
相關文章
相關標籤/搜索