Quantium Interview Question

Which algorithm would i use to solve a problem