Two-Pointer technique

What exactly is the two-pointer technique to approach problems that people talk of when discussing in forum ? When does it prove to be helpful and what type of questions can be done using this ?
I’d really like to know. :slight_smile:

gothrough these links

https://www.quora.com/What-exactly-is-the-two-pointer-method-solution

https://tp-iiita.quora.com/The-Two-Pointer-Algorithm

Once google your doubt before posting here

1 Like

See this : https://tp-iiita.quora.com/The-Two-Pointer-Algorithm Nice explanation with few example problems :slight_smile:

3 Likes

Thanks for the links, didn’t properly grasp after googling so asked

Thanks mate !

ok no worries!