Bloomberg interview question

Write a function that finds and returns the node with the second highest value in a Binary Search Tree. Assume the BST is valid, but not necessarily complete or balanced.

Interview Answer

Anonymous

16 Jun 2018

Reverse in order ?