Robert Bosch interview question

Based on my final year project.