Anagram Substring Detection - Coding problem | OneNoughtOne