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 hintsTopics
Also asked at 17 companies
More Arista Networks Questions
Reverse Nodes in k-GroupHardReorder ListMediumRemove Linked List ElementsEasyCopy List with Random PointerMediumRemove Duplicates from Sorted List IIMedium
View all Arista Networks questions