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.
That algo does not work for obvious reasons.
- mailtojp July 22, 2011Here is the algo works:
1. Find two min weights on side-A (or sort them in order, pick up two lease number)
2. Send them to other side-B, put them in sort order
3. Select min on Side-B (or first element), bring them back to Side-A
4. Now, select two max weights on side-A, send them to Side-B
5. Find min of side-B, bring back to side-A
6. Repeat 1 to 4 until side-A is empty.
This works, because we are altering the min and max on side-A, also always min on side-B for optimization. Let me know if any one thinks this logic does not work.