Pergunta de entrevista da empresa Johnson Controls

Binary tree preorder without recursion. complete tree height calculation. code writing to produce out of memory error. Singleton impl etc