Pergunta de entrevista da empresa Novopay Solutions

write an algorithm to check for binary tree