Cisco Interview Question

Can you create a program that detects an anagram.