Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Iterative:
- (4, 36)
- Recursive:
- target: asdfkevinasdfaisudhfasdfoalskfjweahfkevinsadfgt
- key: kevin
- found: 4
- locs: []
- keyLength: 5
- start: 0
- target: asdfaisudhfasdfoalskfjweahfkevinsadfgt
- key: kevin
- found: 27
- locs: [4]
- keyLength: 5
- start: 9
- target:
- key: kevin
- found: -1
- locs: [4, 36]
- keyLength: 5
- start: 41
- Returning locs: [4, 36]
- None
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement