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.
Thank you for sharing... I did with two pointers and thought we can't do with one... Even I have generalized like LinkedLists have one node, we need one pointer, BST have two nodes, we need two pointers :P
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Binary Search Tree : Insertion
You are viewing a single comment's thread. Return to all comments →
Thank you for sharing... I did with two pointers and thought we can't do with one... Even I have generalized like LinkedLists have one node, we need one pointer, BST have two nodes, we need two pointers :P