1992. Sort Linked List Already Sorted Using Absolute Values

Medium
Linked List
Two Pointers
Sorting

Description

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.

Similar Questions

Statistics

Acceptance
66.8%
Submissions
17,233
Accepted
11,506