News for hackers. Stuff that matters.
Re:Google Interview University – Plan for studying to become... by lawn on Thursday October 06, 2016 @12:33PM (#12653809)
There is another point to this: You shouldn't have all in your head. If you're actually going to implement a standard library for a new language it's reasonable that you spend some time and energy on researching and looking stuff up.

I don't see how being able to recite trivia questions from memory is a good indicator even for implementing a standard library.

Having a rudimentary understanding of algorithms and data structures is useful but in many cases it's also something you could look up.

Re:Google Interview University – Plan for studying to become... by pjlegato on Thursday October 06, 2016 @12:39PM (#12653859)
Well said. If I ever did actually have to implement a red/black tree or a TCP stack for my job as a software engineer (which has somehow never come up yet), I wouldn't do it by standing at a whiteboard racking my brain for the details, and I certainly wouldn't set a one-hour timer. I'd pick up a book or read some reputable websites to refresh my memory first, and I'd take my time writing it, since it'd have to be an important corner case to necessitate rewriting something complex that's already pretty well implemented.
Re:Google Interview University – Plan for studying to become... by nostrademons on Thursday October 06, 2016 @06:30PM (#12656667)
The real use-case for algorithm knowledge at Google isn't implementing standard libraries, it's in distributed computing. Okay, you know how to implement a shortest-path algorithm. Do you know how to implement a shortest-path algorithm when the data is spread over 10,000 computers? How about when paths become blocked by traffic jams or accidents? Could you adapt it so you can update that shortest-path in real-time as weights changed?

In these cases, most of your head-space is focused on the problem, which isn't written down anywhere other than PM's requirements doc. It's pretty critical that you understand the algorithm really well, because if you have to look it up you're going to have to unload all the messy problem-domain stuff that's in your brain.

Re:Google Interview University – Plan for studying to become... by manigandham on Friday October 07, 2016 @05:31PM (#12664061)
Distributed storage/compute is a different problem/abstraction from an adaptive shortest-path algorithm.

Also, you can learn the algorithm first then figure out the problem. No need to do it on the fly, although sometimes that can help too.

Re:Google Interview University – Plan for studying to become... by solipsism on Thursday October 06, 2016 @12:57PM (#12654014)
You seem to think you'd lose points in a Google interview for not knowing some specific concept. That's not how it works. Interviewers want to know how your brain works, even when presented with something you don't already know.
Re:Google Interview University – Plan for studying to become... by pjlegato on Thursday October 06, 2016 @01:20PM (#12654229)
I admit I have never interviewed at Google. I have interviewed at a number of companies that use the "CS trivia" style interview process. I got some of these jobs and didn't get others.

In the cases where I didn't get the job, I naturally asked why. Despite repeatedly having assured me that they just wanted to know how my brain works and not whether I'd memorized specific concepts, I am usually flat-out told the rejection was because I had implemented some minor detail of algorithm X incorrectly; that my implementation failed in some corner case.

I've also passed and worked at companies which do CS trivia style interviews. When they later interviewed other candidates while I was there, I sometimes observed how the people conducting the interview would first study algorithms and data structures for hours on Wikipedia prior to going in -- because they themselves can't recite any of that without preloading.

Maybe Google works differently; I don't know. At most places, the "CS trivia" style interview seems to primarily serve as a vehicle for bolstering the egos of the people conducting the interview -- they get to feel superior and ding people for not knowing the gotchas of algorithm X.

Re:Google Interview University – Plan for studying to become... by xiphias on Friday October 07, 2016 @03:17AM (#12658778)
I'm working on Google ads where a ,,minor detail'' in an algorithm implementation can easily cost $50000/day loss. It also means that the experiment has to be stopped, everything fixed, tested, approved again, which can easily take a month to get correctly, so a lot of time is lost. I'm not saying the interviewing system is perfect, but getting edge cases right in a big system is critical.
Re:Google Interview University – Plan for studying to become... by kayge on Friday October 07, 2016 @12:39PM (#12661980)
When you're working on getting those edge cases right, are you allowed to use a book or a computer for reference? :)
Re:Google Interview University – Plan for studying to become... by alexgorbatchev on Friday October 07, 2016 @03:10PM (#12663176)
That's where peer-review comes in. Hopefully you aren't committing to master all by yourself these kind of changes.
Re:Google Interview University – Plan for studying to become... by umbs on Thursday October 06, 2016 @01:57PM (#12654551)
From my experience, I agree with this. I interviewed at Google in 2014. I prepared extensively. However, I bombed the interview. The interviewers genuinely wanted to see how I think. I am not brightest guy around and couldn't provide great insights in my solutions. I got same feedback from recruiter.

Just came here to say that from my limited experience, I concur with this comment. Google also has improved their feedback loop after the interview, which I find severely lacking in other companies with similar interviewing styles.

Re:Google Interview University – Plan for studying to become... by alexgorbatchev on Friday October 07, 2016 @03:12PM (#12663188)
> I wouldn't do it by standing at a whiteboard racking my brain for the details, and I certainly wouldn't set a one-hour timer.

That...