Pointer Manipulation Target: 15s
Dummy-head deletion avoids special-casing the head node. Essential linked list technique.
dummy = Node(0)
dummy.next = head
prev, cur = dummy, head
while cur:
if cur.val == target:
prev.next = cur.next
break
prev, cur = cur, cur.next
head = dummy.next
Type it from memory. Go.