mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 17:34:49 +08:00
from __future__ import annotations (#2464)
* from __future__ import annotations * fixup! from __future__ import annotations * fixup! from __future__ import annotations * fixup! Format Python code with psf/black push Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
# Youtube Explanation: https://www.youtube.com/watch?v=lBRtnuxg-gU
|
||||
|
||||
from typing import List
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
def minimum_cost_path(matrix: List[List[int]]) -> int:
|
||||
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
|
||||
|
Reference in New Issue
Block a user