Remove Duplicates from Sorted List II at Arista Networks

Medium51.3% acceptance

This problem has 75.0% frequency at Arista Networks.

Problem Description

Given the `head` of a sorted linked list, _delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list_. Return _the linked list**sorted** as well_.

Read full problem and hints

Topics

Also asked at 9 companies


More Arista Networks Questions

View all Arista Networks questions