Pre-order tree traversal in 3 minutes

Pre-order tree traversal in 3 minutes

Michael Sambol

8 лет назад

211,325 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@leizhang3329
@leizhang3329 - 10.12.2023 13:05

good

Ответить
@mohammadrezajavadi3498
@mohammadrezajavadi3498 - 05.10.2023 17:39

Excellent

Ответить
@tweets009
@tweets009 - 19.06.2023 09:52

hello a level exam people

Ответить
@dinner4chiahao
@dinner4chiahao - 08.04.2023 23:00

Brilliant video!

Ответить
@user-sr1pp7sv9q
@user-sr1pp7sv9q - 08.02.2023 00:56

Thank you so much

Ответить
@mehmetemineraslan5948
@mehmetemineraslan5948 - 03.02.2023 00:36

THANK YOU SO MUCH

Ответить
@JKayXF
@JKayXF - 17.11.2022 04:18

u are a sexy man. thank you great video and explanation

Ответить
@bvwalker1
@bvwalker1 - 29.10.2022 19:41

Very nice explanation. Thank you! Subbed!

Ответить
@snipo39
@snipo39 - 01.09.2022 22:31

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

Ответить
@magscovers8924
@magscovers8924 - 19.04.2022 02:59

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.

Ответить
@dudez5312
@dudez5312 - 21.03.2022 17:12

thank u dawg

Ответить
@yeah5037
@yeah5037 - 18.09.2021 15:58

thanks!

Ответить
@kathipogudavidpaul3634
@kathipogudavidpaul3634 - 19.05.2021 08:44

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

Ответить
@matthewsmith1571
@matthewsmith1571 - 11.05.2021 19:27

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 :))

Ответить
@robertp2552
@robertp2552 - 11.04.2021 23:09

Thank you! :D

Ответить
@muyangyan
@muyangyan - 03.02.2021 09:02

Concise and no weird language. Thank you

Ответить
@ferengiprophet2185
@ferengiprophet2185 - 09.10.2020 12:49

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.

Ответить
@aemilious6267
@aemilious6267 - 21.07.2020 15:28

Just follow this rule it might not be the same with the actual code implementation where stacks get pushed and popped but if you want to do a quick traversal follow this tips : 1-In Preorder traversal the first time you reach each node you perform your operation (visit) 2-In Inorder traversal for the second time you reach each node again , you perform your operation(visit) 3- In post order traversal for the Third time you reach each node perform your operation (in this case visit , you can do whatever you like ;) )

Ответить
@zboobafett5984
@zboobafett5984 - 21.06.2020 00:14

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 !!!

Ответить
@mladenkaorlic6028
@mladenkaorlic6028 - 19.06.2020 05:17

You should get salary instead of my teachers...

Ответить
@manasabokka783
@manasabokka783 - 03.06.2020 13:52

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

Ответить
@cugamer8862
@cugamer8862 - 29.04.2020 01:36

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.

Ответить
@akashbhadouria6727
@akashbhadouria6727 - 06.01.2020 11:37

Who tf disliked this masterpiece video? you all have special places in hell reserved!

Ответить
@zinaright
@zinaright - 08.12.2019 05:18

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

Ответить
@kf3822
@kf3822 - 24.11.2019 10:06

Best Explanation

Ответить
@angelvasquez9468
@angelvasquez9468 - 05.11.2019 20:43

Great explanation. Thank you.

Ответить
@peterzhou3366
@peterzhou3366 - 25.07.2019 00:59

thanks for sharing

Ответить
@nuclear804
@nuclear804 - 24.07.2019 04:59

thanks laddy

Ответить
@Resorization
@Resorization - 13.05.2019 20:04

Thanks ;)

Ответить
@daveydaveywigwam
@daveydaveywigwam - 13.05.2019 11:22

Nailed it

Ответить
@EndieM8
@EndieM8 - 05.04.2019 19:46

please keep making videos

Ответить
@RECTmetal
@RECTmetal - 04.04.2019 02:12

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

Ответить
@DanielLochner
@DanielLochner - 14.03.2019 17:53

Absolutely brilliant!

Ответить
@ludendorf1899
@ludendorf1899 - 16.01.2019 17:15

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

Ответить
@moustafa_elsaid
@moustafa_elsaid - 01.01.2019 10:11

Thanks for your effort, can you please
make the same for graphic traversal?

Ответить
@sreehari563
@sreehari563 - 26.11.2018 02:05

extremely helpful,thank you😘👍

Ответить
@udanamethmal6632
@udanamethmal6632 - 25.10.2018 05:01

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

Ответить
@ameypote8148
@ameypote8148 - 03.10.2018 21:46

God bless you !

Ответить
@australia7003
@australia7003 - 31.07.2018 00:41

It's so nice to get explanations which aren't from an incoherent Indian man. Thanks, keep it up!

Ответить
@moustafa_elsaid
@moustafa_elsaid - 30.06.2018 20:09

please give video for graph traverse methods

Ответить
@88zachary88
@88zachary88 - 12.04.2018 03:45

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.

Ответить
@salmanalimughal6386
@salmanalimughal6386 - 15.02.2018 19:11

THNX :)

Ответить
@merajis
@merajis - 08.06.2017 22:29

Awesome! thanks

Ответить
@giliaki1995
@giliaki1995 - 12.12.2015 18:49

is there any chance you will do Dinic's algorithm? Thank you

Ответить
@maryamd6396
@maryamd6396 - 23.11.2015 01:37

Hi! Your videos have helped me out a lot for maths. I was wondering if you could do a video on the Route Inspection problem(Chinese postman problem). Thanks x

Ответить
@maremp5
@maremp5 - 06.11.2015 05:16

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

Ответить