Pergunta de entrevista da empresa rebuy

how do you decide which algorithm to use?