Pergunta de entrevista da empresa J.P. Morgan

How to implement a binary tree. Pseudo code and then implementation in Java