Algorithms presented in various math classes