summaryrefslogtreecommitdiff
path: root/the-grandest-staircase-of-them-all/solution.py
diff options
context:
space:
mode:
Diffstat (limited to 'the-grandest-staircase-of-them-all/solution.py')
-rw-r--r--the-grandest-staircase-of-them-all/solution.py7
1 files changed, 1 insertions, 6 deletions
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