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.
Nice solution and description.
- marekkijo October 25, 2017I was also thinking about kind of double buffer storage for produced characters. Producer can have an atomic pointer to one buffer to push characters there, on the other site customers have their own atomic pointers that points on second buffer with already produced characters. Since on customer site it would be read-only operation and on the producer site it is write-only so we can skip mutex locks I guess. Even if that works, the problem is that we need to wait (or synchronize) until all the customer threads have finished processing the "front" buffer to do buffer swap. (I will prepare a code for that and I will upload here later)
May I ask you to say something more (or some link) about the "automaton based approach" that you mentioned regarding looking for pattern because I cannot understand what you meant?
Cheers!!!