You are viewing a single comment's thread. Return to all comments →
Is the typescript code supposed to have everything except the preOrder function predefined, like the starter code for other languages?
Currently it requires you to define the BinaryTree data type and convert the input string to a Binary Tree.
Tree: Preorder Traversal
You are viewing a single comment's thread. Return to all comments →
Is the typescript code supposed to have everything except the preOrder function predefined, like the starter code for other languages?
Currently it requires you to define the BinaryTree data type and convert the input string to a Binary Tree.