I love that little Flag trick! So helpful, esp for in-order traversal, which Grimaldi explains very cryptically. I don't know why Grimaldi doesn't mention the flag trick, sometimes I think he likes his textbook to be opaque...
@megadevX7 жыл бұрын
My professor took forever to explain this and I didn't understand it at all. You explain it in one fourth of the time and I completely understand it. I wish you were my professor.
@solarlu7 ай бұрын
I've been having issues with this. The flag trick actually helps so much. Thank you
@israelg999 жыл бұрын
You are the best! Thank you, I will happily donate and support you as a patreon :)
@mohitmanujavideos9 жыл бұрын
it helps me lot thank you
@OhimeFujoshi4 жыл бұрын
I never thought of thinking it in that flag trick! It's extremely easy to understand. My lecturer never would've thought of that so thank you very much for this
@donalddrumpf2929 жыл бұрын
What's something that scientists use? Bunnygirl 45 lol!!!!!
@yazdanriazi81575 жыл бұрын
you are the best, I didn't go to the class even once, but after I saw your video for final exam, you show me best path to get everything, I really appreciate it
@bray_bongani3 жыл бұрын
You my man are a life saver
@arminsmajlagic29074 жыл бұрын
Man u helped so much, traversals showed up on the exame and i was stuned. They were not in the study materials. Big thanks !!!
@ivanchong80117 жыл бұрын
Wonderful teaching ! nice method for the post pre in order traversals
@mehadihasansanto5383 жыл бұрын
Awesome techniques! U really deserve more than billions of thanks!💖💖💖
@tanishqsanka7 жыл бұрын
I wonder why you have very few views.....saved my day
@SheriffAyew8 жыл бұрын
Very Helpful. Thank you for saving me hours of understanding
@hinaafzal12548 жыл бұрын
Thnx for uploading..it helped a lot..
@tacopizza274 жыл бұрын
The flag trick blew my mind!
@Trevtutor4 жыл бұрын
Some of the best tricks are not taught in textbooks!
@americaloveland41407 жыл бұрын
you are the best u just saved my life
@kalebjuliu79445 жыл бұрын
holy shit this is amazing. Thank you so much
@gianghayhoi6 ай бұрын
bro, you save my life
@superawesomecaptainmcfluff95064 жыл бұрын
This flag thing is amazing. Thank you so much!
@rezamorovati5065 Жыл бұрын
Thank you!
@艾倫-x6x7 жыл бұрын
saved my day
@AshishGusain177 жыл бұрын
Flag trick was awesome
@Ayeedmund5 жыл бұрын
Never comment but jeeez that flag trick is a life saver... genius
@thepedzed Жыл бұрын
For in-order traversal on unary operators, it seems that you should assume the edge is on the right side of the imaginary flag. Take -(x + 8) for example: ( - ) ¦ \ \ ( + ) / ¦ \ / \ ( x ) ( 5 ) ¦ ¦ ¦ = imaginary flag Perhaps a way to remember this is that -(x + 8) would be the same as 0-(x + 8). Or imagine the unary operator was the square root: √(x + 5) ( √ ) ¦ \ \ ( + ) / ¦ \ / \ ( x ) ( 5 ) ¦ ¦ ¦ = imaginary flag
@abdulrahmanzidane22714 жыл бұрын
brilliant trick
@garciabyron2187 ай бұрын
I should just send my tuition money to this guy instead of my school.
@JamilBousquet4 жыл бұрын
Isn't a tree binary iff m
@gizmo9289 жыл бұрын
thank you !!
@arslanmurad32747 жыл бұрын
Amazing Way!
@prathmeshgg7 жыл бұрын
just wanna ask sir which aspiring mathematicians and computer scientist have username as Bunnygirl43?lol BTW thnx for this video
@AllMeta7 жыл бұрын
Jokes on you, I have WoW directly on my C: drive
@Trevtutor7 жыл бұрын
I put mine in /system32 for extra power
@sebisuarez105 жыл бұрын
I gave a like solely because of Bunnygirl45 lmao
@Thebourrin777 Жыл бұрын
I noticed that if you put the flag downwards, you get the in-order traversal
@JenniferZheng-x8u4 ай бұрын
I don't really understand the flag. What does it mean?
@Trevtutor4 ай бұрын
It's just a trick for figuring out the order that each node should be written out if travelling counter-clockwise around the tree. It's not necessary to understand. Some people work better with visualizations.
@JenniferZheng-x8u4 ай бұрын
@@Trevtutor Thank you so much. Happy to know you are still here even after 9 years. Your videos are truely impactful!
@georghieronymus99356 жыл бұрын
Another example of where I feel like I wasted hundreds of dollars to have someone fail to teach this... Why am I even in college...