Boy, I've never seen someone solve a problem that I understand so well. For the first time I could actually predict what code should come next. You are the best. Don't stop. You will blow up soon because you are a great teacher. I have seen many tutorials on solving leetcode, but it's just the do what I do type of solution without walking through their thought process. I could actually understand why you did everything in your code. The pseudocode helped do wonders. I am a beginner, I thought double for loop was for a multidimentional array, but you just taught me sometime brand new. thanks man.
@sachindobal32733 жыл бұрын
Great to see you back man
@ThinkFWD3 жыл бұрын
Thank you! Appreciate the support as well, seeing these comments really means a lot :)
@danielpark3993 жыл бұрын
Excited to watch all series. Thank you!
@ThinkFWD3 жыл бұрын
Thank you!
@mariarazo69772 жыл бұрын
I'm so happy I found this video as I begin my Leetcode studying! The tier breakdown will definitely help organize the practice problems. Thank you!
@bida-hammer3 жыл бұрын
Hello, I am a student studying JavaScript in Korea. This video is so helpful. Keep up the good videos.
@ThinkFWD3 жыл бұрын
Thank you :)
@KyleRosebk3 жыл бұрын
Thanks for this. looking forward to more videos
@Jamesxoxo892 жыл бұрын
Great job brother Much appreciated!
@jianzhang99503 жыл бұрын
Good work man. 👍
@MabekTravel10 ай бұрын
if you sort the array and look with two pointers, the found indices would be the sorted array's indices. After that we need to find the original indices as well. Isn't that make it very slow?
@georgietrottier93123 жыл бұрын
Hey , that's an awesome explanation! Though, I wanted to ask why we need to sort the array to solve this question with two pointers? Can't we do it without sorting? If no, then why?
@ThinkFWD3 жыл бұрын
Sorting gives you a natural attribute of higher value on right and lower value on left. Knowing this allows you to make a decision once you take 2 elements and add it together and minus target. You will know if you need to move up from left or right based on the outcome. :).
@hemantpratapsingh2363 жыл бұрын
Can we do it with two pointers
@ThinkFWD3 жыл бұрын
Yes you can ;) I wanted to leave that for you to try at the ends