interview-techdev-guide icon indicating copy to clipboard operation
interview-techdev-guide copied to clipboard

Create starting_indices_of_anagrams.py

Open jAnist opened this issue 4 years ago • 3 comments

Given a word W and a string S, find all starting indices in S which are anagrams of W.

For example, given that W is "ab", and S is "abxaba", return 0, 3, and 4.

jAnist avatar Oct 23 '19 20:10 jAnist

Please raise an issue for your pull request or link an existing one

xlogix avatar Oct 23 '19 20:10 xlogix

starting_indices_of_anagrams.txt

: It would be great if you can add the description along with the issue number. Feel free to use our contribution guidelines (https://github.com/fnplus/interview-techdev-guide/blob/master/CONTRIBUTING.md#how-to-contribute-an-implementation-code) for reference

xlogix avatar Oct 25 '19 08:10 xlogix