Capital One Interview Question

implement a simplified version of a banking system