Engineer Software Interview Questions

511,875 engineer software 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 1081 - 1090 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 511,875 interview questions and reports from Engineer software interviews. Prepare for your interview. Get hired. Love your job.