Algorithms for practice