Skip to content

contribute to #9943 #12444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dynamic_programming/climbing_stairs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

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

Expand Down
2 changes: 2 additions & 0 deletions sorts/merge_sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ def merge_sort(collection: list) -> list:
[]
>>> merge_sort([-2, -5, -45])
[-45, -5, -2]
>>> merge_sort([90,-90,2,15,39,-54,0])
[-90,-54,0,2,15,39,90]
"""

def merge(left: list, right: list) -> list:
Expand Down
Loading