Praveen Spinners interview question

Tress based questions andit was difficult