mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-12-19 02:07:27 +08:00
Fix
This commit is contained in:
@@ -63,7 +63,7 @@ def largest_product(grid):
|
||||
max_product = max(
|
||||
vert_product, horz_product, lr_diag_product, rl_diag_product
|
||||
)
|
||||
largetst = max(largest, max_product)
|
||||
largest = max(largest, max_product)
|
||||
|
||||
return largest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user