Pergunta de entrevista da empresa BNY

Asked to write code for Balanced binary tree