Sample search algorithm app