Intuit interview question

About work and Tree questions