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.
hi guys,
- aliciabondie23 July 10, 2012I've read every proposed answer, and beside pointer thing, I don't thing they'll work.
I've written a pseudocode something line below answer.
"Read the file in chunk, big enough to accommodate in memory. Process the chunk and reverser it and put into another file, Repeat this operation for the next chunk"
I tried to get current available memory size, and read that bytes from original file, parse words by space, reverse and store them in the second file.
But the thing is when you read a chunk of byes from original file, it may be a part of only 1 word. So in this case, word cannot fir into memory, so that was a problem.
BTW, they didn't look for pseudocode or just explanations, they looked for a working solution.