Problem 3577 · Medium

Count the Number of Computer Unlocking Permutations

Computer 0 can unlock everything only if it has the strictly smallest complexity, and then every order starting at 0 works.

Open the interactive visualisation