Solve problem 265

This commit is contained in:
2026-08-09 14:07:58 -04:00
parent f310e650ee
commit 91b8a35582
2 changed files with 47 additions and 2 deletions
-2
View File
@@ -39,8 +39,6 @@ def get_maximix_arrangements(n: int) -> list:
max_xs = []
max_xs_count = 0
for x in xs:
if x[0] == 0 or x[-1] == 0:
continue
c = count(x)
if c == max_xs_count:
max_xs.append(x)