We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Lol I glossed over the first sentence and got mixed up with palindromes. I thought it was weird the explanation said [ifa, fai] was a valid pair but I just kept coding for palindromes like "wow hope that doesn't come back to haunt me" in my mental Kronk voice. I'll have to be more observant during interviews.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and Anagrams
You are viewing a single comment's thread. Return to all comments →
Lol I glossed over the first sentence and got mixed up with palindromes. I thought it was weird the explanation said
[ifa, fai]
was a valid pair but I just kept coding for palindromes like "wow hope that doesn't come back to haunt me" in my mental Kronk voice. I'll have to be more observant during interviews.