Рет қаралды 3,449
My first win on LeetCode! Anyways, explanations start at 14:05. If they are a bit unclear, feel free to ask questions in the comments below so that I can improve!
Bonus: I challenge everyone to solve the last problem in O(n), as opposed to the O(n^2) solutions most people had. Comment your solution in the description!
If this video was helpful, be sure to like & subscribe!