Accenture interview question

Tree based questions related to DSA