bugl
Home
Learn
Patterns
Paths
Search
Premium
Auto
Home
Learn
Patterns
Paths
Medium
Linked List
LC 148
Sort List
Given the head of a linked list, return the list after sorting it in ascending order.
Asked at 6 companies
Adobe
Amazon
Bytedance
+3 more
Hints
1.
Think about which data structure fits best
2.
Consider the time complexity of your approach
3.
Look for patterns in the constraints
Start Puzzle
LeetCode