Leetcode 3635. Earliest Finish Time for Land and Water Rides II
Choose one land ride and one water ride (in either order) to minimize the time you finish both, where each ride can start no earlier than its opening time or the finish time of the previous ride. The core challenge is selecting the optimal pair and sequence while accounting for waiting (start = max(opening, previous finish)) to minimize the final completion time.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Your account is free and you can post anonymously if you choose.