Interns Interview Questions

248,404 interns interview questions shared by candidates

An integer whose base-ten representation consists of only zero and one is called a "zero-one". given an arbitrary integer N, find the smallest "zero-one" integer S which is the multiple of N. (It is mathematically guaranteed that every N has such an S). Constraint: 0 < N < 100,000 Sample Input: 4 Sample Output: 100
avatar

Intern

Interviewed at The Zappos Family

2.8
Feb 6, 2015

An integer whose base-ten representation consists of only zero and one is called a "zero-one". given an arbitrary integer N, find the smallest "zero-one" integer S which is the multiple of N. (It is mathematically guaranteed that every N has such an S). Constraint: 0 < N < 100,000 Sample Input: 4 Sample Output: 100

Viewing 1091 - 1100 interview questions

Glassdoor has 248,404 interview questions and reports from Interns interviews. Prepare for your interview. Get hired. Love your job.