We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 707a430 commit 2c4e1c7Copy full SHA for 2c4e1c7
C++/groups-of-strings.cpp
@@ -1,5 +1,5 @@
1
// Time: O(26 * n)
2
-// Space: O(n)
+// Space: O(26 * n)
3
4
// bitmasks, union find
5
class Solution {
0 commit comments