Pergunta de entrevista da empresa Micro Focus

Write a program of two strings are anagram are not?