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