Intern Interview Questions

249,830 intern 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 1081 - 1090 interview questions

Glassdoor has 249,830 interview questions and reports from Intern interviews. Prepare for your interview. Get hired. Love your job.