Leetcode 2145. Count the Hidden Sequences | Hello Interview