TomTom interview question

4 different coding interviews regarding algorithms, OOP