Algorithms: Design and Analysis, class