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.
Seems like cookies are disabled on this browser, please enable them to open this website
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.