Two Pointers
INFO
The two pointers is a searching algorithm if you want at the same time:
- Search two elements in an array
- Search and do something in an array
- Keep in mind an index when moving another
- Ect…
The two pointers is a searching algorithm if you want at the same time: