49
-
[LeetCode] 49. Group AnagramsLeetCode 2021. 8. 17. 19:55
https://leetcode.com/problems/group-anagrams/ Group Anagrams - 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 Group Anagrams. 알파벳 소문자로만 이루어진 string 배열이 주어졌을 때, 각각의 string을 사용된 알파벳을 기준으로 그룹을 만들어 주면 된다. 이 때, 개수도 생각해주어야 한다. 예를 들어, eat와 tea 는 a,e,t가 사용되었으므로 같은 그룹이다. 이 문제는 번뜩! 떠오른 생각으로..