|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Non-Recursive Pre-order traversal for binary tree
Hey guys,
I am trying to figure out how to write in java, a non-recursive preorder traversal algorithm for a binary tree where i can use stacks to help me as well. I know how to write the recursive algorithm, just cant figure out the non-recursive method. Can anyone help me out? |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > Non-Recursive Pre-order traversal for binary tree |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|