Sum of Square Numbers (LeetCode 633) | Full Solution | Two pointer approach | Efficient

  Рет қаралды 4,392

Nikhil Lohia

Nikhil Lohia

Күн бұрын

Join this channel to get access to perks: / @nikoo28
Actual problem on LeetCode: leetcode.com/problems/sum-of-...
Chapters:
00:00 - Intro
00:38 - Problem Statement
02:41 - Brute Force Method
03:27 - Two pointer approach
07:29 - Dry-run of Code
10:00 - Final Thoughts
📚 Links to topics I talk about in the video:
Brute Force Method: • Brute Force algorithms...
Two Sum Problem: • Two Sum (LeetCode #1) ...
Playlist on Arrays: • Arrays
Other medium difficulty problems: • Medium Problems
📘 A text based explanation is available at: studyalgorithms.com
Code on Github: github.com/nikoo28/java-solut...
Test-cases on Github: github.com/nikoo28/java-solut...
📖 Reference Books:
Starting Learn to Code: amzn.to/3sJm8Wl
Favorite book to understand algorithms: amzn.to/4848xJH
Favorite book for data structures: amzn.to/3P96YBv
Get started for interview preparation: amzn.to/44Nn5du
🔗 To see more videos like this, you can show your support on: www.buymeacoffee.com/studyalg...
🎥 My Recording Gear:
Recording Light: amzn.to/3PdsViT
Microphone: amzn.to/3Exv83x
Recording Camera: amzn.to/3PwyN8e
Tablet to sketch and draw: amzn.to/3ZdKVy7
Sketching Tool: amzn.to/45XJEgY
Laptop to edit videos: amzn.to/460ofDu
💻 Get Social 💻
Follow on Facebook at: / studyalgos
Subscribe to RSS feeds: studyalgorithms.com/feed/
Join fan mail: eepurl.com/g9Dadv
#leetcode #programming #interview

Пікірлер: 26
@ShaliniMahalingam-wh5nq
@ShaliniMahalingam-wh5nq 2 ай бұрын
i've never commented on any one videos but the way you are teaching solution to a problem was just amazing. People like me are expecting more leetcode solutions from you. Thank you.
@nikoo28
@nikoo28 2 ай бұрын
adding a new video every week
@niyatisharda3212
@niyatisharda3212 Ай бұрын
Thank you for explaining this well !!👌
@thetoxicguy4783
@thetoxicguy4783 Ай бұрын
Thank you so much for this❤no faltu bakwas ,just on point expaination👌
@DurgaShiva7574
@DurgaShiva7574 Ай бұрын
Eagerly waiting for your next video 🎉
@ChandanKortekar
@ChandanKortekar Ай бұрын
bro just bless me with your knowledge.....
@krutikadave4534
@krutikadave4534 Ай бұрын
Your explanation is really good. thank you.
@bhargavijethva7958
@bhargavijethva7958 Ай бұрын
Nice explanation sir...!
@priyabratapadhi2421
@priyabratapadhi2421 2 ай бұрын
clearly understand bro. thanks
@amansaurabh4552
@amansaurabh4552 5 ай бұрын
nice question and nice explanation ❤
@user-sc1ld7ss3k
@user-sc1ld7ss3k Ай бұрын
amazing
@kunalgurjar6611
@kunalgurjar6611 Ай бұрын
great sir, understood easily.
@nikoo28
@nikoo28 Ай бұрын
Keep watching
@pushpankkumar1341
@pushpankkumar1341 3 ай бұрын
Well explained! ❤
@nikoo28
@nikoo28 3 ай бұрын
Glad it was helpful!
@jayeshpatil5757
@jayeshpatil5757 20 күн бұрын
4 th video after citizen z ,good boy, 19 july 2024, 16:21.1 st floor cot.after bank .
@stalkercyberpunk5243
@stalkercyberpunk5243 4 ай бұрын
Hi which tool or app or notebook u r using in thess tutorials?
@nikoo28
@nikoo28 4 ай бұрын
GoodNotes 6
@mintiny
@mintiny 2 ай бұрын
Can you use sqrt function here? I thought it's not allowed.
@nikoo28
@nikoo28 2 ай бұрын
The problem does not say anything like this
@shreyaskhatavkar9976
@shreyaskhatavkar9976 28 күн бұрын
@bhushanasutkar6135
@bhushanasutkar6135 Ай бұрын
SOlved
@amogu_07
@amogu_07 5 ай бұрын
amazing bhai!!🥰
@divyagarg4821
@divyagarg4821 Ай бұрын
Why did you take long datatype instead of int??
@nikoo28
@nikoo28 Ай бұрын
Because the sum of two squares can go over the integer limit
@Aravind230
@Aravind230 Ай бұрын
@@nikoo28 but why comparing long with int is not giving any error (sum==c)
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 125 МЛН
Comfortable 🤣 #comedy #funny
00:34
Micky Makeover
Рет қаралды 14 МЛН
Sum of Square Numbers - Leetcode 633 - Python
14:26
NeetCodeIO
Рет қаралды 12 М.
Max Consecutive Ones (LeetCode 1004) | Full Solution w/ animations
14:41
8 patterns to solve 80% Leetcode problems
7:30
Sahil & Sarra
Рет қаралды 295 М.
10 Math Concepts for Programmers
9:32
Fireship
Рет қаралды 1,8 МЛН
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 125 МЛН