摘要: 题目描述: 给出两个字符串, 你需要修改第一个字符串,将所有与第二个字符串中相同的字符删除, 并且第二个字符串中不同的字符与第一个字符串的不同字符连接。 样例: 给出 s1 = aacdb, s2 = gafd返回 cbgf给出 s1 = abcs, s2 = cxzca;返回 bsxz 答案: 给 阅读全文
posted @ 2017-10-24 22:56 小小西红柿 阅读(847) 评论(0) 推荐(0) 编辑
摘要: Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to get t. All occurrenc 阅读全文
posted @ 2017-10-24 16:36 小小西红柿 阅读(253) 评论(0) 推荐(0) 编辑