Pre-order tree traversal in 3 minutes

preview_player
Показать описание
Step by step instructions showing how to do pre-order tree traversal on a binary tree.

Рекомендации по теме
Комментарии
Автор

Finally, someone who explains algorithms and data structures using plain English instead of mathematical notation. Not all of us had the benefit of a four year CS education, you're doing a great service here.

cugamer
Автор

Fun fact: if you apply pre-order traversal of a BST on the British royal family tree (ordered by age) this is how the crown is passed along.

zachary
Автор

Dude you saved my life. You just explained a concept my data structures professor was trying to explain in a 2 hour video. He overloaded us with so much information that the important parts were incomprehensible.

magscovers
Автор

I want this guy for every concept I need to understand. Absolitely spot on, brief and concise

zinaright
Автор

omg this was so simple yet so effective, thanku so much

snipo
Автор

Thank you so much for your efforts at beautifully explaining this and other algorithms. Subbed.

ludendorf
Автор

For better understanding, you can add the final state as 'return' or 'done' in the checklist status (visit, left, right and return) to know which node is fully complete or if that node is still pending in the stack frame.

drunkstudent
Автор

This video and the other one you have on post-order tree traversal are absolute gold. Was so confused by how recursive functions work (especially with the return keyword), but this is definitely helping me piece it together :))

matthewsmith
Автор

Holy shit visit left right actually makes so much sense

ceasarmusk
Автор

Thank you for making a nice clean and straight forward explanation!

RECTmetal
Автор

Thank you! I have a test on all tree topics tomorrow, and this saved me from having to read through my professor's entire PDF lecture.

neil_from_future
Автор

Good explanation dear friend.... I helped me a lot 👍👍👍🙏🙏🙏thank you 💖😊

kathipogudavidpaul
Автор

Youtube now ai-translates titles and I hate it.

To translate the title that shows up to me back to english: "Pre-sale on trees. Order now in 3 minutes".

anonanon
Автор

Dude thanks a whole freaking lot for these 3 videos. Saved me a great amount of time

udanamethmal
Автор

Very nice explanation. Thank you! Subbed!

bvwalker
Автор

I like your explanations, every single video was helpful. Could you make videos about drawing different trees, like AVL, Red-Black and B-Trees?

maremp
Автор

Thank you! You're an amazing teacher. You were able to take a complicated concept (at least to me) and able to explain it in plain terms.

ferengiprophet
Автор

Michael I just wanted to say I love you so so so much. I have seen this videos and many others videos and that helped me a lot in my student life. You're a genius !!!

zboobafett
Автор

You should get salary instead of my teachers...

mladenkaorlic
Автор

clarity, while you explain, is amazing, the way you strike visit, left, right to indicate the call stack is very helpful to imagine recursion.

manasabokka