We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
for this subtree, inorder traverse, you think 9 comes out first?
you may pick up a data-structure book, implement the inorder traverse according the book, then contruct this test case, and have a carefully study according the output.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Swap Nodes
You are viewing a single comment's thread. Return to all comments →
for this subtree, inorder traverse, you think 9 comes out first? you may pick up a data-structure book, implement the inorder traverse according the book, then contruct this test case, and have a carefully study according the output.