CONVERT BINARY SEARCH TREE TO SORTED DOUBLY LINKED LIST (Leetcode) - Code & Whiteboard

  Рет қаралды 6,432

babybear4812

babybear4812

Күн бұрын

One of Facebook's most recently asked questions of the past 6 months!
Let me know down below if you have any questions :)
leetcode.com/p...
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Let's connect on LinkedIn!
/ aleksmitrovic
Follow me on Medium!
/ mitrovic.aleksandar
Questions or suggestions for new videos? Email me!
babybear4812@gmail.com

Пікірлер: 34
@chloe3337
@chloe3337 3 жыл бұрын
other than neetcode, was starting to give up on finding a youtuber that is able to explain clearly for beginners and im glad that i found you (subscribed!) thank you for this
@babybear-hq9yd
@babybear-hq9yd 3 жыл бұрын
tysm Chloe!!! agreed that neetcode is awesome :)
@mohammadkareem1187
@mohammadkareem1187 2 жыл бұрын
Amazing explanation and amazing smile. All the best
@babybear-hq9yd
@babybear-hq9yd 2 жыл бұрын
thx mohammed!
@prashanth123456789
@prashanth123456789 3 жыл бұрын
Thanks a lot ! I have been googling around for days to find a solution that is easy to understand. Yours was perfect, can’t thank you enough mate !
@babybear-hq9yd
@babybear-hq9yd 3 жыл бұрын
love to hear this!! thanks bro :D
@Makishima240
@Makishima240 3 жыл бұрын
Just had this question in my final round onsite. I used the iterative method.
@arjunbharadwaj1820
@arjunbharadwaj1820 3 жыл бұрын
Hey man, awesome explanation. I understood the problem within the first 5 minutes due to your great explanations. Thank you!! Please don't stop making these kind of educational videos!
@babybear-hq9yd
@babybear-hq9yd 3 жыл бұрын
wooo! so happy to hear that bro
@rydmerlin
@rydmerlin Жыл бұрын
Did you ever interview at FAANG? And why are you so happy when doing Leetcode ? :-)
@babybear-hq9yd
@babybear-hq9yd Жыл бұрын
1. i don't work in the SWE space 2. i was young and naive :')
@davidgutierrez921
@davidgutierrez921 2 жыл бұрын
wow, your communication skills are on point! just earned yourself a sub 👍
@babybear-hq9yd
@babybear-hq9yd 2 жыл бұрын
appreciate it my man! welcome aboard :D
@lukt
@lukt 2 жыл бұрын
Awesome explanation, really helped me a lot! You're really good at explaining things simply! :)
@babybear-hq9yd
@babybear-hq9yd 2 жыл бұрын
Thanks a lot Luca :)
@willowsongbird
@willowsongbird 3 жыл бұрын
THANK YOU for this explanation!
@babybear-hq9yd
@babybear-hq9yd 3 жыл бұрын
no worries!
@browniebro
@browniebro 2 жыл бұрын
This was super helpful, thank you!
@babybear-hq9yd
@babybear-hq9yd 2 жыл бұрын
Thanks browniebro!
@TheNealtt
@TheNealtt 3 жыл бұрын
Great explanation. Love the way you explained it. Thank you :)
@joevice376
@joevice376 3 жыл бұрын
love your explanations man, keep it up!
@babybear-hq9yd
@babybear-hq9yd 3 жыл бұрын
thx a lot joe :)
@ameynaik2743
@ameynaik2743 3 жыл бұрын
Like your explanations a lot! perfect!
@andrewyuan7881
@andrewyuan7881 2 жыл бұрын
This video was very helpful!
@babybear-hq9yd
@babybear-hq9yd 2 жыл бұрын
thanks Andrew!
@ЮлияМихайлова-в7я
@ЮлияМихайлова-в7я 3 жыл бұрын
Hi! Thanks for explanation. Struggling to understand line 18 here: tail = node. What's the purpose of this if right before this line there is tail.right = node on 13?
@prashanth123456789
@prashanth123456789 3 жыл бұрын
tail.right on line 13 sets the next node to the current tail, tail=node sets the new node as the tail
@TYYY_6
@TYYY_6 3 жыл бұрын
Great job!
@今天比昨天厲害
@今天比昨天厲害 3 жыл бұрын
Good stuff! Thanks!
@only_oneone1751
@only_oneone1751 2 жыл бұрын
much thanks, better than lc solution.
@rahulbhardwaj4568
@rahulbhardwaj4568 2 жыл бұрын
Great Explanatin! thanks
@babybear-hq9yd
@babybear-hq9yd 2 жыл бұрын
Thanks Rahul!
@Paunitza
@Paunitza 3 жыл бұрын
Great explanation. Thank you!
@babybear-hq9yd
@babybear-hq9yd 3 жыл бұрын
My pleasure :)
Flatten Binary Tree to Linked List - Leetcode 114 - Python
14:27
From Small To Giant 0%🍫 VS 100%🍫 #katebrush #shorts #gummy
00:19
Чистка воды совком от денег
00:32
FD Vasya
Рет қаралды 2,4 МЛН
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 23 МЛН
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 3,5 МЛН
Binary search tree - Implementation in C/C++
18:36
mycodeschool
Рет қаралды 1,3 МЛН
NUMBER OF SHIPS IN A RECTANGLE (Leetcode) - Code & Whiteboard
28:30
AVL Trees & Rotations (Self-Balancing Binary Search Trees)
20:38
Back To Back SWE
Рет қаралды 352 М.
BST - 21: Convert BST to Sorted Doubly Linked List (DLL)
14:20
Coding Simplified
Рет қаралды 8 М.
LOWEST COMMON ANCESTOR OF A BINARY TREE III [PYTHON]
16:38
Cracking FAANG
Рет қаралды 12 М.
Leetcode 426 | Binary Search Tree to Doubly Linked List
9:36
Red Black Tech
Рет қаралды 196
Delete a node from Binary Search Tree
18:27
mycodeschool
Рет қаралды 1,1 МЛН
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 835 М.
From Small To Giant 0%🍫 VS 100%🍫 #katebrush #shorts #gummy
00:19