bars
📈
notes
search
circle-xmark
⌘
Ctrl
k
copy
Copy
chevron-down
0205_Isomorphic_Strings
Solution1
时间复杂度 O(n ^ 2)
空间复杂度 O(1)
遍历判断每个字符在 s 和 t 中各自出现的首位置
同构词相应字母出现的首位置必然是相同的。
Previous
0205_Isomorphic_Strings
chevron-left
Next
0206_Reverse_Linked_List
chevron-right
Last updated
4 years ago