Pergunta de entrevista da empresa Loylogic

Write a code to implement binary tree.