LeetCode
Question
·
May 2022
Bus Routes. Greedy or DP? Please help with intuition.
17 upvotes
7,876 views
7 replies
Question Details
There are two bus routes red and blue, represented in an array. each index represents a city and each index value represents the cost to reach that index from previous...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Arrays
Dynamic Programming
Greedy