LeetCode
Question
·
Jun 2022
Microsoft Interview Question : Single Pass answer required
1 upvote
239 views
7 replies
Question Details
Hi, Find occurences of word in a string and print their indexes.(ignore special chars) E.g. String: Hi! How are you Hi? Word: Hi Ans: 0 4 This must be done in a single pass. I converted all...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Strings