InterviewDB
Question
Optimal Commute Path: Shortest Path with Time-Dependent Edge Weights
phone
Question Details
Problem You are given a city graph where edges represent roads. Each road has a base travel time, but also a congestion_factor(hour) function that multiplies the base time during rush hours. Given a start node, an end node, and a departure hour, find…
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Coding
Onsite
Phone
More from Databricks
1p3a
Databricks SDE II Interview Experience: Fibonacci Trees CIDR and LLD
Reddit
New Grad Interview Experience at Databricks?
1p3a
Databricks Onsite Interview Experience for SDE Position
1p3a
Databricks Onsite SDE Interview: Encoding and SnapshotSet Coding Challenges
1p3a
Revenue Tracking System with Referrals