Skip to content
RED SAGSkills
medium10 pts · first answer countsdynamic-programmingkadane

Largest product of a contiguous block

For maximum product subarray, why do you track the smallest product ending at each index as well as the largest?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions