Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2093. Minimum Cost to Reach City With Discounts
Find the minimum travel cost from a source city to a destination in a weighted graph when you may apply a limited number of discounts that reduce the cost of traversed edges. This is solved by running a shortest-path algorithm (e.g., Dijkstra) on an expanded state space that tracks how many discounts have been used.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.