Reverse Linked List II at Arista Networks

Medium51.0% acceptance

This problem has 87.5% frequency at Arista Networks.

Problem Description

Given the `head` of a singly linked list and two integers `left` and `right` where `left <= right`, reverse the nodes of the list from position `left` to position `right`, and return _the reversed list_.

Read full problem and hints

Topics

Also asked at 17 companies


More Arista Networks Questions

View all Arista Networks questions