logo
Interview
    Interview Guide
    Coding Problems List
Sponsored: Coursera
Problems

Remove Linked List Elements

Problem

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

Example

Given 1->2->3->3->4->5->3, val = 3, you should return the list as 1->2->4->5

Online Judge