Remove Linked List Elements at Arista Networks
Easy53.8% acceptance
This problem has 87.5% frequency at Arista Networks.
Problem Description
Given the `head` of a linked list and an integer `val`, remove all the nodes of the linked list that has `Node.val == val`, and return _the new head_.
Read full problem and hintsTopics
Also asked at 8 companies
More Arista Networks Questions
Reverse Nodes in k-GroupHardReverse Linked List IIMediumReorder ListMediumCopy List with Random PointerMediumRemove Duplicates from Sorted List IIMedium
View all Arista Networks questions