From f551a3af808e5b89b8744b8b3d77dee08ae63ce9 Mon Sep 17 00:00:00 2001 From: n1c00o Date: Tue, 12 Oct 2021 20:30:54 +0200 Subject: Move my solution into a specific folder --- the-grandest-staircase-of-them-all/solution.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'the-grandest-staircase-of-them-all/solution.py') diff --git a/the-grandest-staircase-of-them-all/solution.py b/the-grandest-staircase-of-them-all/solution.py index d4e5499..744b41d 100644 --- a/the-grandest-staircase-of-them-all/solution.py +++ b/the-grandest-staircase-of-them-all/solution.py @@ -1,7 +1,2 @@ def solution(n): - t = [1] + [0]*n - for s in range(1, n + 1): - for h in range(n, s - 1, -1): - t[h] += t[h - s] - - return t[-1] - 1 + # Your code here -- cgit v1.2.3