Bank of America Interview Question

Design choices for the assignment and how to improve