algospot problem solving