I am deeply impressed by your use of pen and paper, even the clever little slider. Pen and paper is what helps me the most with thinking about programming.
Thanks for noticing the little details! Agreed pen/paper is a super underrated tool. The effect at 1:16 was cool to figure out. I tried the blur the lines between physical and digital.
Glad you enjoyed it! Just posted a video for "Two Sum II", the follow-up to this problem. Check it out and lmk what you think! ruclips.net/video/C3PFKlDeB7M/видео.htmlsi=nlbb6H8Zbz58ZwKf
The question said "you may assume each input has exactly one solution" Hence the solution either has no number repeated in the array, or the solution is a repeated number in 2 indices.
I am deeply impressed by your use of pen and paper, even the clever little slider. Pen and paper is what helps me the most with thinking about programming.
Thanks for noticing the little details! Agreed pen/paper is a super underrated tool. The effect at 1:16 was cool to figure out. I tried the blur the lines between physical and digital.
This is such nugget of gold! You've explained everything soo well, keep it coming!!
Thank you! I've already put together a few other similar videos. Make sure that you check them out on my channel.
@@GordonZhu I definitely will!
This is golden. Thank you very much!
Glad you enjoyed it! Just posted a video for "Two Sum II", the follow-up to this problem. Check it out and lmk what you think! ruclips.net/video/C3PFKlDeB7M/видео.htmlsi=nlbb6H8Zbz58ZwKf
Great video
Thank you! Excited to put more out
Great videos 👍🏻
Thank you! Make sure to check out my video for Two Sum II if you haven't yet!
ruclips.net/video/C3PFKlDeB7M/видео.html
The question said "you may assume each input has exactly one solution"
Hence the solution either has no number repeated in the array, or the solution is a repeated number in 2 indices.
Those are *not* the only cases with repeated numbers. You could also have a case like [2, 2, 2, 2, 7, 3] where the target is 10.