Software Engineer 2 Interview Questions

665,594 software engineer 2 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 1071 - 1080 interview questions

Glassdoor has 665,594 interview questions and reports from Software engineer 2 interviews. Prepare for your interview. Get hired. Love your job.