GlobalLogic Interview Question

Oops concepts