Community Problem

Remove Linked List Elements

Difficulty: Easy

Delete every node in a singly-linked list whose value matches a target, with a sentinel/dummy node that makes the head case fall out of the general loop.