
[LeetCode/easy] Isomorphic Strings
·
알고리즘/LeetCode
https://leetcode.com/problems/isomorphic-strings/ Isomorphic Strings - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com paper title 01023 01023 이와 같이 알파벳의 위치와 개수가 동일한지 아닌지 체크하면 된다. 나는 위의 예제처럼 숫자를 넣어줬다. 각 인덱스를 보고 이전에 있던 거면 그때 그 숫자를 넣어주고 새로운 거면 +1 한 값을 넣어줬다. 그런데 여기서 문제는 바로 "abcdefghij..