MeridianLink Interview Question

Why would you use Djikstra's algorithm?