Quantiphi Interview Question

oops concepts