Capital One Interview Question

basic questions