Cummins interview question

Nothing unexpected