Carrefour interview question

classique