Minimum Depth of Binary Tree (LeetCode 111) | Full solution w/ graphical examples | Study Algorithms

  Рет қаралды 5,936

Nikhil Lohia

Nikhil Lohia

Күн бұрын

Actual problem on LeetCode: leetcode.com/problems/minimum...
Level Order Traversal: • Level order traversal ...
Binary Tree: • Binary Trees Introduct...
📘 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/36pU0JO
Favorite book to understand algorithms: amzn.to/39w3YLS
Favorite book for data structures: amzn.to/3oAVBTk
Get started for interview preparation: amzn.to/39ysbkJ
🔗 To see more videos like this, you can show your support on: www.buymeacoffee.com/studyalg...
🎥 My Recording Gear:
Recording Light: amzn.to/3pAqh8O
Microphone: amzn.to/2MCX7qU
Recording Camera: amzn.to/3alg9Ky
Tablet to sketch and draw: amzn.to/3pM6Bi4
Surface Pen: amzn.to/3pv6tTs
Laptop to edit videos: amzn.to/2LYpMqn
💻 Get Social 💻
Follow on Facebook at: / studyalgos
Follow on Twitter at: / studyalgorithms
Follow on Tumblr at: / studyalgos
Subscribe to RSS feeds: studyalgorithms.com/feed/
Join fan mail: eepurl.com/g9Dadv
#leetcode #programming #interview

Пікірлер: 25
@amitbhattacharya356
@amitbhattacharya356 11 ай бұрын
The way you explain every solution is too good, much appreciated.
@kolawoleabdulrahman
@kolawoleabdulrahman Жыл бұрын
thank you for always explaining well and making sure we understand. even though I'm a javascript developer I always try to find your videos bcus you're a great teacher
@aman_rockstar31
@aman_rockstar31 5 ай бұрын
i have not find any better teacher than u ur explanation was amazing in every vedio thanku
@ajayupadhyay4964
@ajayupadhyay4964 Жыл бұрын
You are a really great teacher 🙂!!!
@tanishkaagarwal6750
@tanishkaagarwal6750 Жыл бұрын
thank you sir for the wonderful explanation!!
@pritishpattnaik4674
@pritishpattnaik4674 Жыл бұрын
How camly u explained bit by bit was super cool , coded it myself listening to the explanation
@nikoo28
@nikoo28 Жыл бұрын
Love to hear that I was able to get through to you :)
@-ASHUKUMARSINGH-IT-A
@-ASHUKUMARSINGH-IT-A Жыл бұрын
Brother your explanation is nice and i learn alot from your video
@sudhadevi6692
@sudhadevi6692 Жыл бұрын
Very good explanation bhaiya❤
@flatmapper
@flatmapper 7 күн бұрын
Brilliant content.
@ajaynishad9329
@ajaynishad9329 9 ай бұрын
Nice explanation
@010101dddm
@010101dddm Жыл бұрын
Please explain dynamic programming questions from blind 75 like coin change and decode ways
@nikoo2805
@nikoo2805 Жыл бұрын
Coin change is available now 😊
@vahngodisgracious5073
@vahngodisgracious5073 Жыл бұрын
u r great sir.. but this is very bad that u still dont have much subscriber.. u teach very calmly with a smile on ur face that makes the problem more easier..
@nikoo28
@nikoo28 11 ай бұрын
So glad you feel that way. :) I know my channel is growing slow...but if you can share with people you know...will help a lot. Keeps me motivated too :)
@pallabnath4636
@pallabnath4636 Жыл бұрын
Very good explanation . It helped me a lot . Keep it up . 🤗
@nikoo28
@nikoo28 Жыл бұрын
Glad to hear that
@ISABELLEDUPONTTT
@ISABELLEDUPONTTT 3 ай бұрын
Thank you for your video it was really helpful !!! My question is can we solve the problem without using another loop the loop for ? since i want to do a code that doesnt surpass O(n²) in complexity
@nikoo28
@nikoo28 3 ай бұрын
two loops do not necessarily mean time complexity of O(n^2). The solution I have offered, works in O(n) time
@jayeshthamke7860
@jayeshthamke7860 2 ай бұрын
@@nikoo28 IMO the inner for loop and variable size is not required, only condition for the while loop suffice. What do you think?
@likhithakande2902
@likhithakande2902 Жыл бұрын
Bro do U teach in bits pilani data structures subject??
@nikoo28
@nikoo28 Жыл бұрын
No, that was not me.. 😅 but can you point me to a link to that online video if it is available publicly? Would be glad to check it out.
@likhithakande2902
@likhithakande2902 Жыл бұрын
@@nikoo28 ya, I will check and let U know and thanks for reply
@likhithakande2902
@likhithakande2902 Жыл бұрын
I heard same voice same as U who is teaching data structures in bits pilani online classes........
@tanmay9069
@tanmay9069 Жыл бұрын
improve voice quality and increase volume
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 2,8 МЛН
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 11 МЛН
DO YOU HAVE FRIENDS LIKE THIS?
00:17
dednahype
Рет қаралды 56 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 170 #shorts
00:27
Зачем нужны указатели в C++?
8:14
Dima
Рет қаралды 1,9 М.
Diameter of a Binary Tree - Leetcode 543 - Python
15:34
NeetCode
Рет қаралды 216 М.
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 2,8 МЛН