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 will be maximum of 16 processes active. Each parent when ending will print one and each child two. A parent is any process that spawned another and a child is a process that did not call "fork"
- badescudan July 04, 2012So in theory you would get any series of 8 times "one" and 8 times "two" and we can never have more two's then one's in the series.
That being said no father process waits for the children to end so the process might (and it probably will) end without all the processes being executed.
So the correct answer is we will get a series of up to 8 "one" and up to 8 "two" where the only sure thing is there will not be more twos than ones if we look from 1st row to last