Loading...
Engaged Employer
Finding kth smallest element in a BST
Anonymous
Many ways to solve it: a. Keep track of subtree sizes and solve by elimination in O(logN) b. Do an in-order traversal and solve it in O(N)
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalized job recommendations and updates by starting your searches.