testcase 1 wrong ans
Arrays palidrome
For
5
1
2
3
2
1
Your code is giving truetrue,instead of true
There are many glitches in the code. Also this question is meant to be solved recursively. Try to come up with recursive approach
Thanks I’ve solved it