Kforce interview question

Write a program to check Anagram.