Cadence Inc Interview Report
- 0of 2 votes
Answersgiven a array of digits. print all combination of of these i.e all no formed by these.
- Abhi September 23, 2013 in India
repetition allowed.
and then for modification:
repetition not allowed
example:
i/p:
arr={2,3,4}
o/p:
(without repetition)
234
243
324
342
423
432| Report Duplicate | Flag | PURGE
Cadence Inc SDE1 Algorithm - -1of 1 vote
AnswersGiven a positive int "N". and an array of numbers ranging from 0-9 (say array name is arr).
- Abhi September 23, 2013 in India
print all numbers from 0 to N which include any number from "arr".
example:
i/p: N=20
arr={2,3}
o/p: 2,3,12,13,20| Report Duplicate | Flag | PURGE
Cadence Inc SDE1 Algorithm Coding
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.