목록코딩 테스트/leetcode (33)
미소를뿌리는감자의 코딩
[leetcode 2024/02/05] 49. Group Anagrams
https://leetcode.com/problems/group-anagrams/description/ LeetCode - The World's Leading Online Programming Learning Platform 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 1. 접근 방법 이번 문제는 시간초과로 꽤 애를 먹었다. 처음에 접근한 방법으로는 Counter 방법이었다. Counter를 이용하여, 알파벳을 key로, 해당 알파벳의 개수를 value로 한 후, 이를 비교해..
코딩 테스트/leetcode
2024. 2. 5. 22:36