Capital One Interview Question

Solve the given business cases