SNP Technologies interview question

how do you choose algorithm for given problem ?