← Nvidia questions
CodingReported in a candidate post, Mar 2024

Reverse a singly linked list with optimizations

Filed under Nvidia

Reverse a singly linked list and return the new head. Then discuss how to optimise it: iterative O(1) space versus recursive, and any further improvements.

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.