Capital One Interview Question

some programming questions