Construct Binary Tree from Preorder and Inorder Traversal | LeetCode 105 | Theory + Python

preview_player
Показать описание
This video is a solution to LeetCode 105, Construct Binary Tree from Preorder and Inorder Traversal. I explain the question, go over how the logic / theory behind solving the question and finally solve it using Python.

Comment below if you have a better solution to this problem!

Let me know if you have any feedback and don't forget to subscribe for more videos!

Time stamps:
0:00 Question Explained
0:50 Preorder & Inorder traveral
5:23 Solution explained
13:45 Python code

Code:

More leetcode questions solved:
Рекомендации по теме
Комментарии
Автор

Excellent explanation!! Thank you a lot for your effort.

MahmudulHasan-nqth
Автор

Hey, can you please make a video on permutations II (leetcode 47) ?

sauravpawar
join shbcf.ru