Engineer Software Interview Questions

419,835 engineer software interview questions shared by candidates

Given the function prototype for a function called secondLargest given a pointer to a list of integers, write down on a piece of paper how you would implement this function and read it back to me. Follow up questions included what is the complexity of your algorithm (O notation)? How would you extend it to do nthLargest element?
avatar

Software Engineer

Interviewed at Amazon

3.5
Nov 26, 2009

Given the function prototype for a function called secondLargest given a pointer to a list of integers, write down on a piece of paper how you would implement this function and read it back to me. Follow up questions included what is the complexity of your algorithm (O notation)? How would you extend it to do nthLargest element?

Viewing 3131 - 3140 interview questions

See Interview Questions for Similar Jobs

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