Flipkart interview question

qes on stack binary search tree