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

ibm logo
ibm
June 12, 2026 · 0 reads

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)

1.

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].

📣 Found this helpful? Please share it with friends who are preparing for interviews!

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!