Continue learning
Practice related DSA questions in the same topic.
Schedule the maximum number of compatible missions.
Select the eligible mission with the earliest finish. Ties are allowed. A mission can start when the preceding one ends.
Step 0 · Complete the maximum number of non-overlapping missions.
Earliest-finish greedy scheduling is optimal for maximizing the number of unweighted intervals. Sorting costs O(n log n).
Play this game