J.P. Morgan Interview Question

OOPS concepts and coding questions