You are given a events where events[i] = [startTime_i, endTime_i, value_i]. The startTime_i and ends at endTime_i, and attending this event yields a value of value_i.
You can choose at most
Return the maximum sum of values you can achieve.
Note: If you choose to attend
events, their active intervals cannot overlap. Specifically, if the first event ends at time , the second event must start at a time strictly greater than .
Constraints:
events.length
events[i].length
startTime_i endTime_i
value_i
You are given a events where events[i] = [startTime_i, endTime_i, value_i]. The startTime_i and ends at endTime_i, and attending this event yields a value of value_i.
You can choose at most
Return the maximum sum of values you can achieve.
Note: If you choose to attend
events, their active intervals cannot overlap. Specifically, if the first event ends at time , the second event must start at a time strictly greater than .
Constraints:
events.length
events[i].length
startTime_i endTime_i
value_i