Visa Inc. Interview Question

technical task was to write anagram