Test Cases & Chat
Part 1
current
Test 1
input:nums = [1,2,2]
expect:[[],[1],[1,2],[1,2,2],[2],[2,2]]
Test 2
input:nums = [0]
expect:[[],[0]]
Test 3
input:nums = [4,4,4,1,4]
expect:[[],[1],[1,4],[1,4,4],[1,4,4,4],[1,4,4,4,4],[4],[4,4],[4,4,4],[4,4,4,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:nums = [1,2,2]
expect:[[],[1],[1,2],[1,2,2],[2],[2,2]]
Test 2
input:nums = [0]
expect:[[],[0]]
Test 3
input:nums = [4,4,4,1,4]
expect:[[],[1],[1,4],[1,4,4],[1,4,4,4],[1,4,4,4,4],[4],[4,4],[4,4,4],[4,4,4,4]]
Choose your coach
Pick a style and how you want to communicate
then