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 hints

Topics

Also asked at 8 companies


More Arista Networks Questions

View all Arista Networks questions