Pergunta de entrevista da empresa Walmart Global Tech

Given an array of strings, group the anagrams together.