Manager Director Interview Questions

714,385 manager director interview questions shared by candidates

Given an array from 0 to n integers containing values 1 through n, write a method that can find any duplicate and return it (note there must be at least one duplicate because of there being more indices than available values). Write a method with "good" running time and space complexity.
avatar

Program Manager

Interviewed at Microsoft

4
Dec 16, 2012

Given an array from 0 to n integers containing values 1 through n, write a method that can find any duplicate and return it (note there must be at least one duplicate because of there being more indices than available values). Write a method with "good" running time and space complexity.

Viewing 1391 - 1400 interview questions

Glassdoor has 714,385 interview questions and reports from Manager director interviews. Prepare for your interview. Get hired. Love your job.