1 test case not passing

Can you point out which test case my code is missing?

@akash_281
Check your code with this case:
2 4
1 2 3 4
5 6 7 8