Leetcode: Group Anagrams (Kotlin)
2 min readSep 13, 2022
This problem is a medium string and array problem on Leetcode. I will walk through an approach to solving this problem.
Problem Statement
Examples
Constraints
Understanding the Problem
First, you should understand what an anagram is. An anagram is a word you can form by rearranging the letters of another word. They give you a list of words and want you to return a list of lists. The inner list will be the group of lists.