← Nvidia questions
CodingReported in a candidate post, Sep 2023

Check whether a linked list is a palindrome

Filed under Nvidia · Also reported at Power2SME, Quinbay

Given the head of a singly linked list, return true if the list reads the same forwards and backwards, otherwise false. Aim for O(n) time and O(1) extra space.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Nvidia questions

Collected from public candidate posts and coding forums. Updated Nov 2026.