BMW Group interview question

A simple algorithm question which I don't remember