News for hackers. Stuff that matters.
Re:Google outage – resolved by xtracto on Monday December 14, 2020 @11:19AM (#25419271)
On reddit thread there are some really good jokes about this [1] related to their asinine interview questions. Like:

> Did they try to fix them by inverting a binary tree?

>> Yeah maybe implementing a quick LRU cache on the nearest whiteboard will help them out here

>> Did they try checking what shape their manhole cover is?

>> Dev ops was too busy out counting all the street lights in the United States

[1] https://www.reddit.com/r/programming/comments/kcwqij/every_s...

Re:Google outage – resolved by vacheron on Monday December 14, 2020 @03:47PM (#25423061)
AFAIK (as someone who does not work at Google), "brain teaser" questions have not been asked at Google for almost a decade.

Every time I see complaints like this I can't help but think the posters have a chip on their shoulder from being rejected by Google or a similarly selective company. It's never a commentary on any fundamental issues with these types of interview questions and no one ever comes up with a better process that is equally scaleable and effective for hiring generalists. In my experience interviewing with dozens of small, medium and large companies, the vast majority of technical roles require these types of questions now. These come off as criticisms against Google specifically for asking hard variants of these questions.

I don't personally have any issue with companies asking questions like these as long as they don't simply look for "a correct and optimal solution coded up perfectly whilst under stress in under 30 minutes", but rather the process of solving the problem.

Re:Google outage – resolved by gizmondo on Monday December 14, 2020 @06:26PM (#25424812)
If we're talking about FAANG, I don't believe that they really care about "the process of solving the problem". If you don't come up with a close-to-optimal solution in about 5 minutes, you're in trouble - there will be competitors who are better prepared and thus can. Solving algorithmic questions is a very trainable skill, after all.
Re:Google outage – resolved by psully on Monday December 14, 2020 @07:15PM (#25425278)
Funnily enough, this response is exactly what the parent seems to be talking about. FAANG originated as a stock term and not as a grouping of companies with similar hiring processes. i.e. Interviews at Netflix are generally domain specific. Likewise, Amazon isn't the same as Apple isn't the same as Google.

> If you don't come up with a close-to-optimal solution in about 5 minutes

Disingenuously hyperbolic. I was only given a single problem to solve in each of my 45 minute "coding rounds" at Google and Facebook. If you approach these interviews like a competitive coding competition you will absolutely not get the job. By that I mean arriving at a non-optimal solution as fast as possible while writing messy code and not explaining your thought process. Not to mention that senior roles involve an increasing number of interviews that focus on design rather than algorithmic questions.

This all seems like nonsense coming from individuals who are (understandably or not) frustrated at an interview process that doesn't align with their strengths.

Re:Google outage – resolved by gizmondo on Tuesday December 15, 2020 @07:17AM (#25429564)
But their hiring practices are pretty similar (perhaps except Netflix, don't know anything about them).

In one of my interview rounds at google I was under huge time pressure, despite coming up with an optimal solution in seconds. That was an outlier as the interviewer was not aware of this solution, so explaining it took a long time. But still.

The valuable part from the competitive coding background is not the coding, but "inventing" solutions. In quotes because it's mostly a pattern-matching process. And it's a _huge_ advantage.

Personally I'm perfectly happy with the current process, as I took about half a year to become good at it, and the payoff is nice. :) But I'm convinced that's what this process selects for first and foremost - amount of preparation.

Re:Google outage – resolved by BaiRado on Monday December 14, 2020 @09:37PM (#25426362)
Funnily enough, this response is exactly what someone who succeeded under this model would say.

This all seems like nonsense coming from individuals who are (understandably or not) frustrated that others would suggest that their success was only due to an interview process that aligned with their strengths, rather than their obviously superior skill and intellect.

Re:Google outage – resolved by psully on Tuesday December 15, 2020 @12:46AM (#25427407)
I don't think I would be considered a "success" under this model as I never passed a tough interview and currently work at company you will never hear of. I simply have no desire to justify my skills by talking others down and pretending I'm too good for companies that reject me.

I'm not sure how this is a valid rebuttal to my comment since it addresses none of the point I made. Do you really think the secret sauce to getting into highly competitive jobs is by incoherently speed running through algorithm questions?

Re:Google outage – resolved by BaiRado on Tuesday December 15, 2020 @10:00AM (#25430878)
I just took your first and last sentences and had some fun with it.

That way of interviewing is good, because it weeds out people who don't prepare and thus might be lazy or just looking for an easy paycheck. But it also tends to confuse good memory of technical and abstract questions as competence, and if you're not careful you'll end up with a lot of copy pasted humans that are really good at inverting binary trees, but suck at everything else. Also people who have already passed it tend to hold on to it as pride, and might fail an otherwise amazing candidate, just because of a failure on a question that has no practical use outside of a textbook. Those are my thoughts on it, and I'd wager the thoughts of many others who are critical of the model.

> Do you really think the secret sauce to getting into highly competitive jobs is by incoherently speed running through algorithm questions?

No, the real secret sauce is having a friend or relative on the inside. If you don't have that it's a gamble most of the time imo.

Re:Google outage – resolved by esyir on Monday December 14, 2020 @09:55PM (#25426453)
On the flipside, you can say something similar about your response regardless of your actual position.

What you've basically told him is: "Your experience is false, you're just biased and whatever your success was is a lie."

Re:Google outage – resolved by BaiRado on Tuesday December 15, 2020 @10:09AM (#25430961)
Yes. Thank you for explaining my comment to me, and you're completely right, but you missed the part where my comment was based on his first and last sentences only going the other way around. It did seem a bit dismissive and condescending at the time so I had some fun with it.
Re:Google outage – resolved by HappyDreamer on Tuesday December 15, 2020 @04:33AM (#25428556)
> I can't help but think the posters have a chip on their shoulder from being rejected by Google

I think so too, look at this angry (it says "fucking" 3 times) comment over at Reddit:

> It’s a waste of fucking time. I’m a really talented programmer [...] I’ve been eliminated based solely on messing up some dumbass arbitrary puzzle.

https://www.reddit.com/r/programming/comments/kcwqij/every_s...

And the only reply that to me somewhat seems to understand what's going on, getting lots of downvotes, so it got collapsed and you cannot easily find it:

> They just play a numbers game, and are able to discard perfectly capable candidates with this kind of questions, and still get a bunch of great candidates

https://www.reddit.com/r/programming/comments/kcwqij/every_s...

(although it started in a bit weird way with "Lmao", however the other replies weren't any more polite were they?)

Re:Google outage – resolved by mav3rick on Monday December 14, 2020 @01:06PM (#25420904)
None of these are asked in G interviews. The commenters are asinine.
Re:Google outage – resolved by abstractbarista on Monday December 14, 2020 @01:17PM (#25421043)
Not necessarily true. Some of these most certainly have been.
Re:Google outage – resolved by xtracto on Monday December 14, 2020 @01:11PM (#25420962)
Re:Google outage – resolved by vacheron on Monday December 14, 2020 @03:57PM (#25423190)
This story seems like a bad example of a false negative. There were claims by Google insiders that Max was given a particularly easy interview as a formality. I am by no means a brilliant programmer and also rusty with algorithms, but given the structure and question, I would be surprised if most people couldn't figure out how to invert a binary tree within a matter of minutes.

Max himself later opened up[0] and admitted to being difficult to work with. It is entirely likely that he was rejected based on his personality and not his ability. As someone who contributed to Homebrew many years ago I would not be surprised if this was the case. In their own words: "I am often a dick, I am often difficult, I often don’t know computer science". I am not sure why any company would want to hire someone like that and put the culture of the team in jeopardy.

[0] - https://www.quora.com/Whats-the-logic-behind-Google-rejectin...

[dead]
Re:Google outage – resolved by xtracto on Tuesday December 15, 2020 @09:34AM (#25430651)
I love your response because I have a PhD in Computer Science. I do LeetCode as and CodeWars problems in the mornings for fun (I like coding and helps me avoid getting rusty) and I have been a hiring manager for over 10 years.

But yeah, other than the "sexiness" of CS concepts it's only because of the "narrative" we want to push.

Re:Google outage – resolved by mav3rick on Tuesday December 15, 2020 @01:48PM (#25433520)
So you do think Leetcode is useful ? What's up with the flex ? Congratulations on the PhD and job, I guess ?. Looks like you could definitely invert a binary tree.
Re:Google outage – resolved by xtracto on Tuesday December 15, 2020 @04:06PM (#25435262)
Leetcode is good for some things, but in my experience is it not a good factor to filter Software Engineers (it is a good metric to filter candidates to form a team for the IOI or similar).

This is a response I wrote elsewhere:

I've been growing Engineering teams for the last 10 years as hiring managers in different startups. At some point in our startup we had those kind of HackerRank questions as filters.

The thing we realized is that those sort of interviews optimize to hire a specific type of very Jr Engineers who have recently graduated or are graduating from CS. That is because those are the people that have the time to churn these types of "puzzle" problems. Particularly, there are 3 types of recent graduates from CS or related fields: The ones that don't know crap, the ones that focus on these sort of problems, and the ones that are "generalists" because they dove into all sort of subjects during their degree.

I found out that the Jr people that excel at those sort of problems have a huge learning curve to climb to be productive in "production", real life environment. On the contrary, the "generalists" work better.

We stopped doing those sort of algorithm puzzles interviews after that realization, and we started getting really good Engineers with great real-life experience.

Re:Google outage – resolved by mav3rick on Tuesday December 15, 2020 @09:02PM (#25438127)
Great let me know when this scales to 100k people.
Re:Google outage – resolved by mav3rick on Monday December 14, 2020 @01:32PM (#25421235)
Okay ? No one's discounting his achievements. What's wrong with knowing stuff about a binary tree ? Is ignorance a badge of honor now ?
Re:Google outage – resolved by rococode on Monday December 14, 2020 @02:43PM (#25422218)
Yeah, nothing wrong with not having memorized how to do that - it's certainly not often useful in practice. But if you're given the definitions and a couple minutes to figure it out (which, in an interview, you are), and you actually can't come up with the 10 lines of code to do it, maybe that question is working as intended after all...
Re:Google outage – resolved by reallydontask on Tuesday December 15, 2020 @03:50AM (#25428340)
> But if you're given the definitions and a couple minutes to figure it out (which, in an interview, you are), and you actually can't come up with the 10 lines of code to do it, maybe that question is working as intended after all...

or maybe the person struggles to work things out in an extremely stressful situation

I speak as somebody that finds interviews Extremely stressful and if working there is regularly my interview levels of stress then please do reject me.

Re:Google outage – resolved by mav3rick on Tuesday December 15, 2020 @08:15AM (#25429963)
Don't you think actors audition for parts ? Is that stressful ? Does preparation help ? 300k+ paying jobs will have demand. With that comes pressure.
Re:Google outage – resolved by mav3rick on Monday December 14, 2020 @01:29PM (#25421200)
None of you have taken interviews at G. There's a strict edict to discard these questions.

"Dev ops was too busy out counting all the street lights in the United States"

If it was a Consulting interview any one would have gotten in. Thankfully no one asks these at G.