@27:28 Do the 'hw', 'index.html', 'lab', and 'lec' objects have their "firstchild" nodes pointing to anything? I think they should point to NULL also. Correct me if im wrong.
Is his post order traversal code correct? I thought he should call "this.visit()" only at the end and not in between visiting the firstchild and nextsibling.. (41:03 to 42:30).. Am I missing something?
its not the right sibling that he is processing after the firstchild, he is processing all the children and then going to itself... and then its own siblings... what he said is correct.
i see it to i think it have to to be in the end of the code(this.visit())like hi sad you go left than right and only than you go to node it self,but in other way maybe hi mean that you check yours left side +nodes than rights child+nodes
awesome!!!!
surajgenius 1 month ago
@27:28 Do the 'hw', 'index.html', 'lab', and 'lec' objects have their "firstchild" nodes pointing to anything? I think they should point to NULL also. Correct me if im wrong.
matthewp3S 2 months ago
Crystal clear.
HSUUSANJ 3 months ago
Something is seriously wrong yet so right :D
thmoki 7 months ago
you can remember that d is an ancestor to itself by thinking d as Fry from Futurama ;)
pithikoulis 1 year ago
those berkeley guys are dammmmm lucky.. if we have teachers like this guy ..
by now i will be bill gate..
love this guy ...
maktry 1 year ago
std::cout << "I can even pause the lecture and come back later. XD" << std::endl;
Da5hiz 1 year ago
What is the abbreviation of G & T
abdulwahab182 1 year ago
Goodrich and Tamassia I believe
larshager13 1 year ago
Is his post order traversal code correct? I thought he should call "this.visit()" only at the end and not in between visiting the firstchild and nextsibling.. (41:03 to 42:30).. Am I missing something?
vaidy81 2 years ago
its not the right sibling that he is processing after the firstchild, he is processing all the children and then going to itself... and then its own siblings... what he said is correct.
did u get what i tried to say?
paaone 2 years ago
@vaidy81
i see it to i think it have to to be in the end of the code(this.visit())like hi sad you go left than right and only than you go to node it self,but in other way maybe hi mean that you check yours left side +nodes than rights child+nodes
Vovan055 1 year ago
awesome...
thanx
NaveenAsphalt 2 years ago 4
Excellent....very clear.......tanx lot.....
ntkisuru 2 years ago 12
thanks for these useful lectures :)
NajanJan 3 years ago 9