Appian Interview Question

Treasure Hunt question on graphs