← Oracle questions

Modify Linked List nodes

Filed under Oracle

Given the head of a singly linked list, insert a new node with value `add_val` at index `add_idx` (0-indexed), then delete the node at index `del_idx` from the resulting list. Return the head of the…

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.