Coding Interview Patterns - Two Pointers

Published: 07 July 2025
on channel: Nikhil Lohia
28,813
1.2k

Schedule a 1:1 session with me: https://topmate.io/nikoo28
Join this channel to get access to perks:    / @nikoo28  

Chapters:
00:00 - Intro
00:56 - What are patterns and why they are useful
02:15 - Two Pointers Pattern
03:52 - Finding a target sum
05:47 - Moving two pointers same time in different lists
08:08 - Where to apply the two pointer pattern?
10:23 - Moving pointers from different directions
12:20 - Moving pointers at different speeds
14:40 - Use pointers to partition
17:34 - Final Thoughts

📖 Reference Books:
Starting Learn to Code: https://amzn.to/3sJm8Wl
Favorite book to understand algorithms: https://amzn.to/4848xJH
Favorite book for data structures: https://amzn.to/3P96YBv
Get started for interview preparation: https://amzn.to/44Nn5du

🔗 To see more videos like this, you can show your support on: https://www.buymeacoffee.com/studyalg...

🎥 My Recording Gear:
Recording Light: https://amzn.to/3PdsViT
Microphone: https://amzn.to/3Exv83x
Recording Camera: https://amzn.to/3PwyN8e
Tablet to sketch and draw: https://amzn.to/3ZdKVy7
Sketching Tool: https://amzn.to/45XJEgY
Laptop to edit videos: https://amzn.to/460ofDu


💻 Get Social 💻
Follow on Facebook at:   / studyalgos  
Subscribe to RSS feeds: https://studyalgorithms.com/feed/
Join fan mail: http://eepurl.com/g9Dadv

#patterns #programming #interview


On this page of the site you can watch the video online Coding Interview Patterns - Two Pointers with a duration of hours minute second in good quality, which was uploaded by the user Nikhil Lohia 07 July 2025, share the link with friends and acquaintances, this video has already been watched 28,813 times on youtube and it was liked by 1.2 thousand viewers. Enjoy your viewing!