Skip to content

Latest commit

 

History

History
 
 

remove_linkedlist_element

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Problem

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