Optum Interview Question

Write a program on anagrams? Puzzles kind of program logics