DSA Key Problems

Maximum Profit in Job Scheduling

Given jobs with start times, end times, and profits, select a set of non-overlapping jobs and return the maximum total profit. A job may start exactly when another selected job ends.