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.
For N<34 there is only a solution if N%3==0 or (N-17)%3=0.
- jsegarra1971 March 10, 2021For N>=34, P=N%17. P is a value between 0..16, use it as index and get D17,D6,D3 from this table:
P D17 D6 D3
0 0 0 0
1 -1 3 0
2 -2 6 0
3 0 0 1
4 -1 3 1
5 -2 6 1
6 0 1 0
7 -1 4 0
8 -2 7 0
9 0 1 1
10 -1 4 1
11 -2 7 1
12 0 2 0
13 -1 5 0
14 -2 8 0
15 0 2 1
16 -1 5 1
Coins 17 = TRUNC(N / 17) + D17
Coins 6 = D6
Coins 3 = D3