NAVEX Interview Question

Write a Program for anagram