题目:https://leetcode.com/problems/isomorphic-strings/
代码(github):https://github.com/illuz/leetcode
判断两个字符串能否相互映射.
- 直接模拟,记录下映射关系
- 用 Python 的 dict 和 zip 能够很方便处理映射关系
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
题目:https://leetcode.com/problems/isomorphic-strings/
代码(github):https://github.com/illuz/leetcode
判断两个字符串能否相互映射.