Skip to content

Glossary: Algorithms Beyond the Basics in Java

IllegalStateException

A Java exception used here to signal that the task rules contain a cycle, thrown when the topological order comes out shorter than the task list.

Where the book teaches it

Related terms

cycleKahn's algorithm