Test Cases & Chat
Part 1
current
Test 1
input:startTime = [1,2,3,3], endTime = [3,4,5,6], profit = [50,10,40,70]
expect:120
Test 2
input:startTime = [1,2,3,4,6], endTime = [3,5,10,6,9], profit = [20,20,100,70,60]
expect:150
Test 3
input:startTime = [1,1,1], endTime = [2,3,4], profit = [5,6,4]
expect:6
Choose your coach
Pick a style and how you want to communicate
then
Loading...
OUTPUT
Run code to see output...
Part 1
current
Test 1
input:startTime = [1,2,3,3], endTime = [3,4,5,6], profit = [50,10,40,70]
expect:120
Test 2
input:startTime = [1,2,3,4,6], endTime = [3,5,10,6,9], profit = [20,20,100,70,60]
expect:150
Test 3
input:startTime = [1,1,1], endTime = [2,3,4], profit = [5,6,4]
expect:6
Choose your coach
Pick a style and how you want to communicate
then