Bosch Interview Question

Solve some algorithmic coding problem