Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 507 Bytes

File metadata and controls

19 lines (11 loc) · 507 Bytes

Related Topics

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