Bloomberg Interview Question

Given an ordered binary tree, write a function that tells you wether an element is in the tree or not

Interview Answer

Anonymous

Oct 25, 2017

Had to do it both recursively and iteratively