Cummins interview question

Pretty straight forward questions.