Solve problem 265

This commit is contained in:
2026-08-09 13:46:08 -04:00
parent f310e650ee
commit b2ad4d3704
2 changed files with 68 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)