InterviewDB
Question
City Path: Find the Shortest Path Between Cities in a Weighted Graph
phone
Question Details
Problem You are given a list of roads between cities, each with a travel time. Find the minimum time to travel from a source city to a destination city. If no path exists, return -1. Example: Approach Dijkstra's algorithm with a min-heap. Time: O((Vā¦
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Coding
Onsite
Phone
More from Snowflake
Reddit
Snowflake screening interviews coming up ā system design + coding questions?
1p3a
Snowflake 2026 Software Engineer Intern VO Interview Experience
1p3a
Snowflake SWE AI/ML Intern Online Assessment Problems
Reddit
Tips Systems Role Snowflake
Reddit
Posting Again: Did I mess this up or do I still have a shot? (Data Analyst Interview Experience)