Skip to content

Commit 0a41ebd

Browse files
committedJan 22, 2024
Update solutions/silver/cses-1661.mdx
1 parent efc54aa commit 0a41ebd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎solutions/silver/cses-1661.mdx

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ subarray with sum $x$. After every iteration, we just add our new prefix sum to
1919
the map.
2020

2121
## Implementation
22-
**Time Complexity:** $\mathcal{O}(N \log N)$
22+
**Time Complexity:** $\mathcal{O}(N)$
23+
24+
**Space Complexity:** $\mathcal{O}(N)$
2325

2426
<LanguageSection>
2527

0 commit comments

Comments
 (0)