Capital One Interview Question

Design a banking system given a list of transactions.