
-----------------------------------
greenapplesodaex
Tue Jul 12, 2005 4:09 pm

how to do binary tree bst search?
-----------------------------------
bst, bresth first or level order search (excuse my spelling)

assume the tree class is given
you can getRootItem(), getLeftNode(), getRightNode(), and other set and attach methods (but i dont think you need those for this)
I want to print the tree in lvl order, can anyone show me a way to do this please? thanx (psodle code is ok too)

-----------------------------------
wtd
Tue Jul 12, 2005 10:14 pm


-----------------------------------
http://en.wikipedia.org/wiki/Binary_search

-----------------------------------
c5jim
Thu Jul 14, 2005 12:39 pm


-----------------------------------
d :roll:  :roll:

-----------------------------------
c5jim
Thu Jul 14, 2005 12:40 pm


-----------------------------------
et :shock:
