Kth Smallest element in a BST
Problem Statement
Note: Your solution should have only one BST traversal and O(1) extra space complexity, since this is what you will be asked to accomplish in an interview.
A tree is considered a binary search tree (BST) if for each of its nodes the...
booleanbit1.hashnode.dev2 min read