IBM (Application Developer-Cloud FullStack) - Coding Assesment tricky question

An ideal number is defined as 3^x . 5^y where x and y are non-negative (>= 0). Your goal is to count how many such numbers exist in the inclusive range between a given low and high.(Type of Ugly Number in Leetcode)

Comments (1)