To find the one who recognizes what others don’t see in you.

The one who gazes into the depth of your eyes as if they were looking into your soul.

Who caresses you and makes all the anguish and apprehension go away.

Who makes you live in that moment right…

Problem Description

To approach this problem, we can think of it as finding a substring in a string.

But the catch here is that if the complete substring doesn’t exist, then we have to discard the currently searched substring and begin again.

Eg: hayStack: mississippi, needle:issip

While traversing the hayStack, at hayStack[1]…

Taniya Saini

Software Engineer. Writer. Long Walks and Good Books❤️

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store