EmbeddedInterviewLab
Topics
Interview
Coding
Toggle menu
Start Learning
All Problems
Remove Linked List Elements
Easy
•
linked-list
•
Expected: O(n) time, O(1) space
•
Interview Context
linked-list
Problem
Given the head of a linked list and an integer val, remove all nodes with that value.
Show Reference Solution
Language:
C++
C
Submit
Loading...