PayPal interview question

String based array with anagram question