The sample test cases has value of N as 6 but there are 7 elements in the array. Same goes for test case 0 & 1, they have N + 1 elements in array
Broken Testcases
Never mind, The video explains the ambiguity in the question.
The sample test cases has value of N as 6 but there are 7 elements in the array. Same goes for test case 0 & 1, they have N + 1 elements in array
Never mind, The video explains the ambiguity in the question.