is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.
CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.
Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.
Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.
If its not to be changed, you can create a new byte array, with number of elements = MAX_INT/8, with all elements initialized to 0, all bits are 0's. In this array each bit represents a integer value in your original array. So you make a pass of your original array and set the corresponding bit in the new byte array. The moment you encounter a already set bit during pass, you are done. This is O(n) in time and takes space in bytes equal to max integer value in the array.
- Sunday Programmer August 23, 2012