Загрузка...

Create Binary Tree from pre-order and in-order traversal (LeetCode 105) | Easiest explanation

👉 👉 Super helpful resources: https://nikoo28.github.io/all-my-links/

Actual Problem: https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/description/

Chapters:
00:00 - Intro
00:58 - Problem Statement and Description
03:09 - Where to start?
08:45 - Dry-run of Code
12:47 - Final Thoughts

📚 Links to topics I talk about in the video:
Binary Trees: https://youtu.be/jxdEgfAsEg0
Pre-order Traversal: https://youtu.be/Ifj-2aqSMnE
In-order Traversal: https://youtu.be/WZulSX1plzE
Recursion: https://youtu.be/FTTHkmnvzlM
Divide and Conquer: https://youtu.be/yePqwt8wSi8

📘 A text based explanation is available at: https://studyalgorithms.com

Code on Github: https://github.com/nikoo28/java-solutions/blob/master/src/main/java/leetcode/medium/BinaryTreeFromPreorderInOrderTraversal.java
Test-cases on Github: https://github.com/nikoo28/java-solutions/blob/master/src/test/java/leetcode/medium/BinaryTreeFromPreorderInOrderTraversalTest.java

📖 Reference Books:
Starting Learn to Code: https://amzn.to/36pU0JO
Favorite book to understand algorithms: https://amzn.to/39w3YLS
Favorite book for data structures: https://amzn.to/3oAVBTk
Get started for interview preparation: https://amzn.to/39ysbkJ

🔗 To see more videos like this, you can show your support on: https://www.buymeacoffee.com/studyalgorithms

🎥 My Recording Gear:
Recording Light: https://amzn.to/3pAqh8O
Microphone: https://amzn.to/2MCX7qU
Recording Camera: https://amzn.to/3alg9Ky
Tablet to sketch and draw: https://amzn.to/3pM6Bi4
Surface Pen: https://amzn.to/3pv6tTs
Laptop to edit videos: https://amzn.to/2LYpMqn
💻 Get Social 💻
Follow on Facebook at: https://www.facebook.com/studyalgos
Follow on Twitter at: https://www.twitter.com/studyalgorithms
Follow on Tumblr at: https://studyalgos.tumblr.com/
Subscribe to RSS feeds: https://studyalgorithms.com/feed/
Join fan mail: http://eepurl.com/g9Dadv

#leetcode #programming #interview

Видео Create Binary Tree from pre-order and in-order traversal (LeetCode 105) | Easiest explanation канала Nikhil Lohia
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять