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

Jun 16, 2018

Reverse in order ?