Skip to content

Commit ba3cf0a

Browse files
authored
Update diagonal_traversal.py to pass ruff test
1 parent 9898007 commit ba3cf0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

matrix/diagonal_traversal.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
from typing import List
1+
from typing import list
22

33

4-
def find_diagonal_order(mat: List[List[int]]) -> List[int]:
4+
def find_diagonal_order(mat: list[list[int]]) -> list[int]:
55
"""
66
Returns the elements of the matrix in diagonal order.
77

0 commit comments

Comments
 (0)