203. Remove Linked List ElementsEasy
Given the
headof a linked list and an integerval, remove all the nodes of the linked list that hasNode.val == val, and return the new head.
- Problem
- Solutions
Given the
headof a linked list and an integerval, remove all the nodes of the linked list that hasNode.val == val, and return the new head.