The problem, in one line. Each job has a start, an end and a profit, you can do one job at a time, and a job may begin at the moment another ends, so return the largest total profit. LeetCode 1235.
The tell. It is the booking problem from Non-overlapping Intervals with a price on every booking. Once intervals carry weights, “keep whoever leaves first” no longer works, and the choice at each job becomes take it or skip it.