Skip to content

Commit

Permalink
Typo: 오탈자 수정(merge k sorted list S.C.)
Browse files Browse the repository at this point in the history
  • Loading branch information
HC-kang committed Oct 18, 2024
1 parent 2e2bf9a commit 3dc3be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion merge-k-sorted-lists/HC-kang.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* https://leetcode.com/problems/merge-k-sorted-lists
* T.C. O(n * k^2) n: average length of list, k: number of lists
* S.C. O(k)
* S.C. O(1)
*/
function mergeKLists(lists: Array<ListNode | null>): ListNode | null {
if (lists.length === 0) return null;
Expand Down

0 comments on commit 3dc3be4

Please sign in to comment.