Problem 672 · Medium
Track every distinct bulb state reachable in exactly m presses of the four buttons.
Open the interactive visualisation