Ezvor

2046. Sort Linked List Already Sorted Using Absolute Values

MediumLinked List Preparing judge… LeetCode
Linked ListTwo PointersSorting

Hints

Hint 1
The nodes with positive values are already in the correct order.
Hint 2
Nodes with negative values need to be moved to the front.
Hint 3
Nodes with negative values are in reversed order.