Remove Linked List Elements

2015-04-25  本文已影响11人  myang199088

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

Example
Given: 1 --> 2 --> 6 --> 3 --> 4 --> 5 --> 6, val = 6
Return: 1 --> 2 --> 3 --> 4 --> 5
解题报告

上一篇 下一篇

猜你喜欢

热点阅读