Question d’entretien chez ZAPR Media Labs

write a code to check if a tree is complete ?