Amazon Interview Report
- -1of 1 vote
AnswersGiven a number N, now find the number of occurrences of each digit 0..9 from 0 to N
- user124 January 27, 2014 in India
Eg:
i/p: 12
o/p:
2
5
2
1
1
1
1
1
1
1| Report Duplicate | Flag | PURGE
Amazon Software Development Manager Algorithm - 0of 0 votes
AnswersGiven a number N, now find the smallest number K such that product of digits of K is equal to N. If there is no such K then return -1.
- user124 January 27, 2014 in India
Suppose N = 100, then K = 455
N=26, K = -1| Report Duplicate | Flag | PURGE
Amazon Software Development Manager Algorithm Math & Computation
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.