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.