black fixes and Travis CI fixes (#2160)
* black format
* updating DIRECTORY.md
* fixes
* fixup! Format Python code with psf/black push
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@@ -4,7 +4,7 @@ from typing import List
|
||||
|
||||
|
||||
def minimum_cost_path(matrix: List[List[int]]) -> int:
|
||||
'''
|
||||
"""
|
||||
Find the minimum cost traced by all possible paths from top left to bottom right in
|
||||
a given matrix
|
||||
|
||||
@@ -13,7 +13,7 @@ def minimum_cost_path(matrix: List[List[int]]) -> int:
|
||||
|
||||
>>> minimum_cost_path([[2, 1, 4], [2, 1, 3], [3, 2, 1]])
|
||||
7
|
||||
'''
|
||||
"""
|
||||
|
||||
# preprocessing the first row
|
||||
for i in range(1, len(matrix[0])):
|
||||
|
||||
Reference in New Issue
Block a user