We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ed2557 commit d2bc9dfCopy full SHA for d2bc9df
merge-two-sorted-lists/taewanseoul.ts
@@ -20,7 +20,7 @@
20
*/
21
22
// O(n + m) time
23
-// O(1) space
+// O(n + m) space
24
function mergeTwoLists(
25
list1: ListNode | null,
26
list2: ListNode | null
0 commit comments