Skip to content

Commit 933ae89

Browse files
refactor 148
1 parent 7440a75 commit 933ae89

File tree

1 file changed

+8
-0
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+8
-0
lines changed

src/main/java/com/fishercoder/solutions/_148.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66
* 148. Sort List
77
*
88
* Sort a linked list in O(n log n) time using constant space complexity.
9+
*
10+
* Example 1:
11+
* Input: 4->2->1->3
12+
* Output: 1->2->3->4
13+
*
14+
* Example 2:
15+
* Input: -1->5->3->4->0
16+
* Output: -1->0->3->4->5
917
*/
1018
public class _148 {
1119

0 commit comments

Comments
 (0)