InterviewDB Question

Weight Constraint Path: Shortest Path in a Graph Where Edge Traversal Has Weight Limits

Question Details

Problem You have a directed weighted graph of n nodes. Each edge has a distance and a maximum weight capacity. You are transporting a package of weight w. Find the shortest path from source s to destination d such that every edge on the path can supp…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Phone