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 22ff96c commit 425459bCopy full SHA for 425459b
1 file changed
merge-two-sorted-lists/jylee2033.py
@@ -25,3 +25,6 @@ def mergeTwoLists(self, list1: Optional[ListNode], list2: Optional[ListNode]) ->
25
cur.next = list1 or list2
26
27
return output.next
28
+
29
+# Time Complexity : O(n + m), n - lenght of list1, m - length of list2
30
+# Space Complexity : O(1)
0 commit comments