Test Cases & Chat
Part 1
current
Test 1
input:tasks = ["A","A","A","B","B","B"], n = 2
expect:8
Test 2
input:tasks = ["A","C","A","B","D","B"], n = 1
expect:6
Test 3
input:tasks = ["A","A","A","B","B","B"], n = 3
expect:10
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:tasks = ["A","A","A","B","B","B"], n = 2
expect:8
Test 2
input:tasks = ["A","C","A","B","D","B"], n = 1
expect:6
Test 3
input:tasks = ["A","A","A","B","B","B"], n = 3
expect:10
Choose your coach
Pick a style and how you want to communicate
then