Cool thanks. nice work.
OK, I have changed the test cases. I should have explicitly stated in the description that you should reverse the original array. Oh well. Your solution should pass now.
It is due to you emptying out the original array. There is a note on the description. I will have a look soon.
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
Cool thanks. nice work.
OK, I have changed the test cases. I should have explicitly stated in the description that you should reverse the original array. Oh well. Your solution should pass now.
It is due to you emptying out the original array. There is a note on the description. I will have a look soon.
This comment is hidden because it contains spoiler information about the solution