← Oracle questions
CodingReported in a candidate post, Aug 2018

Kth Element from Right End of Singly Linked List

Filed under Oracle

Given the head of a singly linked list and an integer `k`, return the value of the `k`-th node from the right end (1-indexed) of the list. The solution must execute in O(n) time and O(1) auxiliary…

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

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