← Back
00:00

Optimal Commute Assignment

Databricks interview questions · Medium · Coding round · reported 30× · 6 tests

Pick the best transport mode on a city grid by comparing per-mode shortest travel time and breaking ties by total cost.

The full question, tests and reference solution are available with a plan that includes Databricks.

Idle