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 Jth element evenly divides the Nth element index then it died.
- rohit December 09, 2016else the Nth element gets displaced by (CurrentIndex/Jth element)
Ex:
nums = 1,2,3,4,5,6,7,8,9,10
j = 2,3,4
n = 9
1st iter: j=2
1,3,5,7,9
9th index gets displaced by (9-9/2)
2nd iter: j=3
1,3,7,9
9th index gets displaced by (9-5/2)
3rd iter: j=4
9th index evenly divides 4 - So it died