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
67.0%
Submissions
16,420
Accepted
11,007