Problem 3130 · Hard

Find All Possible Stable Binary Arrays II

Count stable binary arrays for large inputs with prefix sums over the run-length window, modulo 1000000007.

Open the interactive visualisation