Link list palindrome

https://ide.codingblocks.com/s/51862
one of test case is giving run time error

Hey Anshu, your code is not working when you get a palindromic linked list of even size. for eg. check for this case

input:
6
1 2 3 3 2 1

yes i have corrected it now its passed

https://ide.codingblocks.com/s/51915
rat in maze giving wrong answer for 2 test case i cant fiqure out what i have misssed