leetcode-rust
leetcode-rust copied to clipboard
Change End value as the code fails the test case where the array contains one value
The input:
- The array: [2]
- the value: 3
- the output: [ ] (testcase failed)
- The expected output: [2] (as the array only contains one value "2" which is different from "3")