Pregunta de entrevista de ZAPR Media Labs

write a code to check if a tree is complete ?