Leetcode 2222. Number of Ways to Select Buildings | Hello Interview