Problem 519 · Medium

Random Flip Matrix

Design a structure to flip random cells in a matrix and reset.

Open the interactive visualisation