dotkiddo
8/8/2017 - 3:39 PM

[trees] Snippets for trees #trees #nodes #traverse

[trees] Snippets for trees #trees #nodes #traverse

//traverse all the nodes of the tree, adding them to a doubly linked list 
	//wait, even better would be to doSomething(); and give examples of what can be done.



//traverse only the children nodes (ignoring all the parents), adding them to a doubly linked list
	//even better would be to doSomething() and gve examples of what can be done.