J.P. Morgan interview question

OOP and design questions. Leetcode easy problems .