Kroger interview question

nothing difficult