Using the “See expected output” feature, it is giving the same answer on the two test cases shown:
- 5 1 2 3 4 5 1 5
- 5 1 2 3 4 5 0 4
In both of these it is reversing the whole list, so are the numbers ‘m’ and ‘n’, 0 indexed or 1 indexed??
Using the “See expected output” feature, it is giving the same answer on the two test cases shown:
In both of these it is reversing the whole list, so are the numbers ‘m’ and ‘n’, 0 indexed or 1 indexed??