Capital One Interview Question

Basic coding questions