IBM (Application Developer-Cloud FullStack) - Coding Assesment tricky question
- Posted
- 12 Jun 2026
Summary
I took an IBM Application Developer coding assessment that featured a tricky question about counting ideal numbers in a given range.
How it went
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)
Questions asked (1)
- 01
Count Ideal Numbers in Range
Data Structures & Algorithms
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].