Cummins interview question

Conflict I had to resolve