From 5879199b30d4b75254b9dd90027a9075c58313d1 Mon Sep 17 00:00:00 2001 From: SrijaVuppala295 Date: Sun, 27 Oct 2024 22:00:29 +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 9fb51c741..48e1d593b 100644 --- a/src/data/problemData.ts +++ b/src/data/problemData.ts @@ -1394,6 +1394,17 @@ class Solution: return result `, }, + timeComplexity: { + cpp: "O(n)", + java: "O(n)", + python: "O(n)", + }, + spaceComplexity: { + cpp: "O(1)", + java: "O(1)", + python: "O(1)", + }, + }, hasCycle: {