Live Batches
Masterclasses
Menu
Free Courses
Account
Login / Sign Up
Problem Submissions Solution

Check if Linked List is Palindrome

Difficulty: Medium

Acceptance: 67.00%

Points: 30.00

You are given the head of a singly linked list. Your task is to determine whether the linked list forms a palindrome. Return true if it reads the same forward and backward; otherwise, return false.

Topics

Companies

Articles

Examples:

N/A

Constraints:
  • 1 = Number of nodes = 105
  • -10? = Node.data = 10?
Companies:
Apple
Topics:
Linked List
Locked Content
Access Restricted: Please Login to access the code editor and test cases.