Autodesk interview question

Oops trees cpp encapsulation concepts