Problem
We have already solved the similar problem for ugly numbers, where the factor was 2,3 5 here.
Design an algorithm to find the kth number such that the only prime factors are 3, 5, and 7.Solution
We have already solved the similar problem for ugly numbers, where the factor was 2,3 5 here.
0 comments:
Post a Comment