Zoox Interview Question

Standard C++ OOP Design, Inheritance