From 6a8485706164834c8acc6af81a413cd4e427f16b Mon Sep 17 00:00:00 2001 From: SrijaVuppala295 Date: Sun, 27 Oct 2024 21:08:16 +0530 Subject: [PATCH] done --- src/data/problemData.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/data/problemData.ts b/src/data/problemData.ts index 42e58809d..f66ca40e7 100644 --- a/src/data/problemData.ts +++ b/src/data/problemData.ts @@ -356,6 +356,17 @@ class Solution: l2.next = self.mergeTwoLists(l1, l2.next) return l2`, }, + timeComplexity: { + cpp: "O(n + m)", + java: "O(n + m)", + python: "O(n + m)", + }, + spaceComplexity: { + cpp: "O(1)", + java: "O(1)", + python: "O(1)", + }, + }, nextPermutation: {