Graph theory.

...