Philips interview question

Problem solving sui macchinari in linea