Test Cases & Chat
Part 1
current
Test 1
input:Allocate 3 units in size 10
expect:3
Test 2
input:Allocate twice, check total
expect:5
Test 3
input:Allocation overflow (returns -1)
expect:3
Test 4
input:Empty allocator
expect:0
Part 2
locked
Part 3
locked
Resume a session
Loading sessions...
or start fresh
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:Allocate 3 units in size 10
expect:3
Test 2
input:Allocate twice, check total
expect:5
Test 3
input:Allocation overflow (returns -1)
expect:3
Test 4
input:Empty allocator
expect:0
Part 2
locked
Part 3
locked
Resume a session
Loading sessions...
or start fresh
Choose your coach
Pick a style and how you want to communicate
then