Skip to content

Commit 1b31517

Browse files
Update algorithms/matrix/best_meeting_point/__init__.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 7a34e8c commit 1b31517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algorithms/matrix/best_meeting_point/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from typing import List
22

33

4-
def min_total_distance(grid):
4+
def min_total_distance(grid: List[List[int]]) -> int:
55
rows, cols = [], []
66

77
# Helper function to calculate total distance to the median

0 commit comments

Comments
 (0)