Netflix Interview Question

Given a binary search tree find the kth smallest element.

Interview Answers

Anonymous

Sep 7, 2020

Inorder traversal

Anonymous

May 10, 2018

perform preorder treversal and check the value of k

Anonymous

Mar 13, 2016

standard question.