Question d’entretien chez KPIT Technologies

Write a program to check anagram.