Question d’entretien chez Apple

Solve a design problem using Graph theory. Rewrite one of the core Java APIs.