Number of Ways to Paint N × 3 Grid - DSA Problem | Talentd