Quantium interview question

Which algorithm would i use to solve a problem