Skip to content

Files

Latest commit

af138b3 · Apr 3, 2020

History

History

0203.remove-linked-list-elements

Remove all elements from a linked list of integers that have value val.

Example:

Input:  1->2->6->3->4->5->6, val = 6
Output: 1->2->3->4->5

解题思路## 可能的變化