Snowflake interview question

Variation of djikstras algorithm, and then a BFS problem