Bloomberg Interview Question

Algorithms related to weighted graph.