Viasat interview question

Binary trees