Search posts, tags, users, and pages
Find the kth smallest element in a Binary Search Tree (BST), where k is 1-indexed. The function should return the value of the kth smallest node when all nodes are sorted in ascending order.
tracelit
@tracelit
Markdown supported · ⌘↵ to post
No responses yet.