mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
created some comments
This commit is contained in:
parent
f1e5957401
commit
f97d07ebd3
@ -1,3 +1,7 @@
|
||||
'''
|
||||
Maximum Product Subarray
|
||||
This algorithm finds the contiguous subarray within an array that has the largest product.
|
||||
'''
|
||||
def maxProoductSubarray(nums, n):
|
||||
ans = nums[0]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user