J.P. Morgan Interview Question

OOP and design questions. Leetcode easy problems .