Capital One Interview Question

a case problem about a do-walker