Problem 2222 · Medium
Count three-building selections whose types alternate.
Open the interactive visualisation