The code is absolutely working according to the logic and printing correct output on 2-3 different IDEs I had tried on. Here it is showing run time error on submission
Paindrome error problem
@piyush.bansal8158625
Your code is printing FALSE for even simple inputs like
6
1 2 3 3 2 1
5
1 2 3 2 1
2
2 2
Kindly correct this.