About

Exam Practice

Master algorithm efficiency analysis, recurrences, combinatorial generation, divide-and-conquer, and midterm exam problems based on Levitin (3rd ed).

Reference text: Introduction to the Design and Analysis of Algorithms, 3rd Edition (Anany Levitin)

Question 1 of 10Score: 0
Decrease-and-Conquer

In the Johnson-Trotter algorithm, which element is selected to move on each step?