Leetcode 3490. Count Beautiful Numbers | Hello Interview