Leetcode 2827. Number of Beautiful Integers in the Range | Hello Interview