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 all Intuit questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a intuit interview for a swe role reported in 2022.

It covers the following topics: Arrays, Dynamic Programming, Greedy .