🚀 https://neetcode.io/ - A better way to prepare for Coding Interviews
🥷 Discord: / discord
🐦 Twitter: / neetcode1
🐮 Support the channel: / neetcode
💡 CODING SOLUTIONS: • Coding Interview Solutions
💡 DYNAMIC PROGRAMMING PLAYLIST: • House Robber - Leetcode 198 - Python...
🌲 TREE PLAYLIST: • Invert Binary Tree - Depth First Sear...
💡 GRAPH PLAYLIST: • Course Schedule - Graph Adjacency Lis...
💡 BACKTRACKING PLAYLIST: • Word Search - Backtracking - Leetcode...
💡 LINKED LIST PLAYLIST: • Reverse Linked List - Iterative AND R...
Solve it yourself: https://neetcode.io/problems/two-inte...
0:00 - Intuition / Brute force
3:55 - Two pointer / optimal
6:39 - Coding two pointer
#Coding #Programming #CodingInterview
Disclosure: Some of the links above may be affiliate links, from which I may earn a small commission.