Interval Scheduling: Select maximum non-overlapping intervals. Greedy O(n log n) -- in P. Weighted Interval Scheduling: Select non-overlapping intervals maximizing total weight. DP O(n log n) -- still ...
I'd like to contribute an implementation of the Weighted Interval Scheduling problem under the Dynamic Programming section of the repository. This is a classic optimization problem where each interval ...