Skip to content

Commit 070afb6

Browse files
authored
Update matchsticks-to-square.cpp
1 parent bc315c4 commit 070afb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/matchsticks-to-square.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Time: O(n * s * 2^n), s is the number of subset of which sum equals to side length.
2-
// Space: O(n * (2^n + s)),
2+
// Space: O(n * (2^n + s))
33

44
class Solution {
55
public:

0 commit comments

Comments
 (0)