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.
There could be 4 direction for M to move, for each direction the next point is:
- action0692 January 10, 2016lefttop: x2-1,y2+1; leftbottom:x2-1,y2-1;righttop:x2+1,y2+1;rightbottom:x2+1,y2-1, the difference between x2 and y2 can -2,+0, or +2.
So the strategy is :
1. check difference d2 = x2-y2, d1 = x1-y1
2. if (d2-d1)%2 != 0, then it is impossible, otherwise go #3
3. move righttop or rightbottom to make d2==d1, then move leftbottom or righttop to
make M to S
e.g:
when S = (10,3), M = (5,6)
then d1 = 10-3 = 7, d2 = 5-6=-1
cause d1-d2= 8, so move righttop 4 (=8/2) steps, then M is 9,2. after that, move righttop 1(=10-9) step