Capital One Interview Question

System design question