题目
Remove all elements from a linked list of integers that have value val.
Example:
| 1 | Input: 1->2->6->3->4->5->6, val = 6 | 
思路
Easy.
代码
| 1 | # Definition for singly-linked list. | 
Remove all elements from a linked list of integers that have value val.
Example:
| 1 | Input: 1->2->6->3->4->5->6, val = 6 | 
Easy.
| 1 | # Definition for singly-linked list. |