HashedIn by Deloitte Interview Question

Write a program for anagram?and about strings