Problem 2222 · Medium

Number of Ways to Select Buildings

Count three-building selections whose types alternate.

Open the interactive visualisation