IMBUE Interview Question

A coding question in graph theory