Test Cases & Chat
Part 1
current
Test 1
input:s = "ABAB", k = 2
expect:4
Test 2
input:s = "AABABBA", k = 1
expect:4
Test 3
input:s = "AAAA", k = 0
expect:4
Test 4
input:s = "ABBB", k = 2
expect:4
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:s = "ABAB", k = 2
expect:4
Test 2
input:s = "AABABBA", k = 1
expect:4
Test 3
input:s = "AAAA", k = 0
expect:4
Test 4
input:s = "ABBB", k = 2
expect:4
Choose your coach
Pick a style and how you want to communicate
then