A Thinking Ape interview question

Graph Theory and OO Design