Domanda di colloquio di Quantium

Which algorithm would i use to solve a problem