← Samsung questions

Find the Nth node from the end of a linked list

Filed under Samsung · Also reported at Citi, Sandvine, TATA 1MG

Given the head of a singly linked list and an integer n, remove or return the n-th node from the end of the list using a single-pass traversal.

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 Samsung questions

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