Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 49e6059

Browse files
refactor 23
1 parent e3e2475 commit 49e6059

File tree

1 file changed

+13
-2
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+13
-2
lines changed

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

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,19 @@
88
/**
99
* 23. Merge k Sorted Lists
1010
*
11-
* Merge k sorted linked lists and return it as one sorted list.
12-
* Analyze and describe its complexity.*/
11+
* Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.
12+
*
13+
* Example:
14+
*
15+
* Input:
16+
* [
17+
* 1->4->5,
18+
* 1->3->4,
19+
* 2->6
20+
* ]
21+
* Output: 1->1->2->3->4->4->5->6
22+
*
23+
* */
1324

1425
public class _23 {
1526
public static class Solution1 {

0 commit comments

Comments
 (0)