fnplus / interview-techdev-guide

This repository contains curated technical interview questions by fn+geeks community
http://bit.ly/fnplusnow
MIT License
318 stars 325 forks source link

Create starting_indices_of_anagrams.py #596

Open jAnist opened 4 years ago

jAnist commented 4 years ago

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.

xlogix commented 4 years ago

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

jAnist commented 4 years ago

starting_indices_of_anagrams.txt

xlogix commented 4 years ago

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