Back to Browse

Two Pointer Technique in 5 Minutes

14 views
May 8, 2026
5:15

πŸ”” Like & Subscribe: https://www.youtube.com/@AlgoJS?sub_confirmation=1 Business Inquiries: πŸ‘‡ πŸ“§ [email protected] πŸ‘‹ Hi I'm Brad, a software engineer at GitHub, AI expert, and founder of AlgoJS. In this video, I walk through the two pointer technique how one can turn O(nΒ²) into O(n) using two indices that converge toward a solution. Timestamps: 00:00 - Intro 00:20 - 4 steps 00:40 - Question 1 01:45 - Solution 1 02:20 - Question 2 04:20 - Solution 2 04:50 - Conclusion #softwareengineering #datastructures #algorithm #twopointers

Download

1 formats

Video Formats

360pmp43.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Two Pointer Technique in 5 Minutes | NatokHD