Skip to content

Commit 8464883

Browse files
authored
Update decode-string.cpp
1 parent af4b918 commit 8464883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/decode-string.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Time: O(n)
2-
// Space: O(h), h is the depth of the recursion
2+
// Space: O(n)
33

44
class Solution {
55
public:

0 commit comments

Comments
 (0)