Summer Sale is Live! Unlock 40% OFF on All Job-Oriented Training Programs – Limited Time Only! Offer Ending in
D
H
M
S
Get Now
Problem Submissions Solution

Palindrome Linked List

Difficulty: Medium

Acceptance: %

Points: 30.00

Given a singly linked list of integers. The task is to check if the given linked list is palindrome or not.


Topics

Companies

Articles

Examples:

Expected Time Complexity: O(n)

Expected Space Complexity: O(1)

Constraints:
  • 1 <= number of nodes <= 10^5
  • 1 <= node->data <= 10^3
Companies:
Amazon Microsoft Adobe
Topics:
Linked List
Locked Content
Access Restricted: Please Login to access the code editor and test cases.