AlgoSec interview question

LeetCode 49 - Group Anagrams