Data Structures & Algorithms
Greedy Selection
Sort by end, keep the one that ends earliest — activity-selection and arrow-minimisation.
Data Structures & Algorithms
Sort by end, keep the one that ends earliest — activity-selection and arrow-minimisation.