Skip to content

Commit

Permalink
Update flip-game.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
kamyu104 committed Oct 15, 2015
1 parent d4a1e13 commit 2ae0a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion C++/flip-game.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Time: O(n^2)
// Time: O(c * n), n is length of string, c is count of "++"
// Space: O(1), no extra space except that result requires at most O(n^2) space

class Solution {
Expand Down

0 comments on commit 2ae0a3d

Please sign in to comment.