← Accolite questions
CodingMedium

Delete a node in single linked list

Filed under Accolite · Also reported at Intellect

Given the head of a singly linked list and a target value val, delete the first node with that target value from the linked list and return the head of the modified list.

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

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