Sensor Tower Interview Question

Implement function to find all the anagram in array

Interview Answer

Anonymous

May 13, 2022

split and sort each word then group the one that have same value((realized this in hindsight I could have use it as the key ).. Instead I kept index of the words so I can find original word again.