numberOfWays returns the sum of number ways of selecting first building and the number of ways of selecting second building which gives us the number of ways of selecting three building such that no consecutive buildings are in the same category. Runtime: O(n) Space: O(n)
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected