Tree: Preorder Traversal

  • + 0 comments

    "Our test code passes the root node of a binary tree to the preOrder function."

    Yeah... That's not true for quite a lot of the languages I can choose from. What does input "1 2 3 4 5 6" on stdin mean?