Capital One interview question

a case problem about a do-walker