Skip to content

Commit e765811

Browse files
committed
Docs: 21. Merge Two Sorted Lists 복잡도 및 주석 추가
1 parent 5c0a937 commit e765811

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

merge-two-sorted-lists/HC-kang.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ class ListNode {
77
}
88
}
99

10+
/**
11+
* https://leetcode.com/problems/merge-two-sorted-lists
12+
* T.C. O(m + n)
13+
* S.C. O(1)
14+
*/
1015
function mergeTwoLists(
1116
list1: ListNode | null,
1217
list2: ListNode | null

0 commit comments

Comments
 (0)