Citadel interview question

Designing a computation graph. Some applicable graph problems.