Skip to content

Commit 8bf522b

Browse files
committed
contribute to #9943
1 parent f8e595e commit 8bf522b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

dynamic_programming/climbing_stairs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
def climb_stairs(number_of_steps: int) -> int:
55
"""
6-
LeetCdoe No.70: Climbing Stairs
6+
LeetCode No.70: Climbing Stairs
77
Distinct ways to climb a number_of_steps staircase where each time you can either
88
climb 1 or 2 steps.
99

sorts/merge_sort.py

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ def merge_sort(collection: list) -> list:
2626
[]
2727
>>> merge_sort([-2, -5, -45])
2828
[-45, -5, -2]
29+
>>> merge_sort([90,-90,2,15,39,-54,0])
30+
[-90,-54,0,2,15,39,90]
2931
"""
3032

3133
def merge(left: list, right: list) -> list:

0 commit comments

Comments
 (0)