Leetcode 1411. Number of Ways to Paint N × 3 Grid | Hello Interview