Software Engineer Software Developer Interview Questions

466,957 software engineer software developer interview questions shared by candidates

In an array you have all the numbers from 1 through n (not in order) with one number missing. Find that number. Now, you have two numbers missing. Find both the numbers. Notes: O(n) time solution, O(1) extra space. n may be very large, so beware of overflows!
avatar

Software Engineer

Interviewed at Addepar

3.9
Mar 25, 2015

In an array you have all the numbers from 1 through n (not in order) with one number missing. Find that number. Now, you have two numbers missing. Find both the numbers. Notes: O(n) time solution, O(1) extra space. n may be very large, so beware of overflows!

Viewing 921 - 930 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 466,957 interview questions and reports from Software engineer software developer interviews. Prepare for your interview. Get hired. Love your job.