build a tree as the following and display the results of by using depth-first search, and breadth-first search.
A
=B= -C-
=D= =E= -F- -G-
=H= =I= =J=
Last edited on
That's a weird way to draw a tree..
Anyway, show some effort. We're not going to do your homework. Are you able to write a tree at all?
can you post some link or info to kick start to learn and do this. this is out of my understanding.that's all i want...:)
hey that's nice-you got a chance to reply so early and thanks a lot..i am going through and hope it works..:)