Dematic Interview Question

A graph question. No coding just thought process