Skip to content

Commit d4a1fba

Browse files
author
Joseph Luce
authored
Update shortest_distance_from_all_buildings.md
1 parent 7084ad9 commit d4a1fba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

real_interview_questions/Google/shortest_distance_from_all_buildings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class Solution(object):
111111
if element == 1: # start with a building
112112
n_buildings += 1
113113
start_indexes = (row_index, col_index)
114-
local_result = self.bfs_all_lands(start_indexes, grid, dp)
114+
self.bfs_all_lands(start_indexes, grid, dp)
115115
return self.find_shortest_distance(dp, n_buildings)
116116
117117
def find_shortest_distance(self, dp, n_buildings):

0 commit comments

Comments
 (0)