Fetching data...
This may take a moment
Back
1992. Sort Linked List Already Sorted Using Absolute Values
Medium
Linked List
Two Pointers
Sorting
Solve on LeetCode
View Solutions
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
Sort List
Medium
Statistics
Acceptance
67.0%
Submissions
16,420
Accepted
11,007