Question 5

Find the indices of all anagrams of a given word in another word.

For example: Find the indices of all the anagrams of AB in ABCDBACDAB
(Answer: 0, 4, 8)

[advanced_iframe securitykey=”undefined” src=”https://code.kodnest.com/” width=”100%” height=”600″]

×