We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6cd6a5 commit dc69fd8Copy full SHA for dc69fd8
Python/make-a-square-with-the-same-color.py
@@ -1,6 +1,9 @@
1
# Time: O((n - w + 1)^2 * w^2)
2
# Space: O(1)
3
4
+import collections
5
+
6
7
# array
8
class Solution(object):
9
def canMakeSquare(self, grid):
0 commit comments