IBM (Application Developer-Cloud FullStack) - Coding Assesment tricky question
Summary
I took an IBM Application Developer coding assessment that featured a tricky question about counting ideal numbers in a given range.
Full Experience
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)
Interview Questions (1)
Count Ideal Numbers in Range
An ideal number is defined as 3^x · 5^y where x and y are non‑negative integers (≥ 0). Given two integers low and high, count how many ideal numbers lie in the inclusive range [low, high].