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

25 Oct 2017

Had to do it both recursively and iteratively