Pallindrome linkedlist

https://ide.codingblocks.com/s/415801 , is there any better approach other than this for this program?

Yup

  • Take single LL
  • Break it from middle
  • Reverse 2nd half
  • Check if same or not

Though upperbounds remain same but its more optimal then ur current approach