Find the kth element from the end of a linked list in single pass
Filed under Lowe's
The question
Write code to find the kth element from the end of a singly linked list in a single pass of O(n) time complexity.
No write-up yet. Related questions below have one.
Related Lowe's questions
Collected from public candidate posts and coding forums. Updated Nov 2026.