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.
Continuation...
- programmerLeNoob April 09, 2014For example,
Number = 34722641
Check if 1>4 || 1>6 || 1>2 || 1>2 || 1>7 || 1>4 || 1>3 ==> False
Check if 4>6 || 4>2 ==>True
Swap 4 at position 6 and 2 at position 4 ?(Swapping 4 and 2)
Number = 34724621
Find Largest even number after position 4. largest Number = 6 (6,2,1)
Swap it with last number:
Number = 34724126
Sort list from position 5 to position list.size-1. Sort(1,2) ==>Already sorted
Number: 34724126
I am not sure if my thinking is correct. It works for the above examples. Let me know what you think?