Problem 3862 · Medium

Find the Smallest Balanced Index

Compare the running left sum with the right-side product, capping products that can no longer match.

Open the interactive visualisation