Dell Technologies interview question

DSA Question : Write a code for Anagrams