How to check if linked list is palindrome in java

Previous
Next

In this post, we will see how to check if linked list is palindrome or not.

Java Linked List Interview Programs:

Algorithm:

Java Program:

When you run above program, you will get following output:

Time complexity : O(n)
Space complexity : O(1)

Please go through java interview programs for more such programs.

Previous
Next

One Response

  1. Eswar April 11, 2018

Add Comment