Pergunta de entrevista da empresa Ubolt Technologies

Check for an anagram, Wrote code for the same.