Problem 2245 · Medium

Maximum Trailing Zeros in a Cornered Path

Maximize trailing zeros in the product along a path with at most one corner.

Open the interactive visualisation