4 ms·
> The famous incident where author of homebrew was rejected by a top company because he could not invert a binary tree got in the wrong channel (#1) to begin wi
by eru 5y ago
> The famous incident where author of homebrew was rejected by a top company because he could not invert a binary tree got in the wrong channel (#1) to begin with where he was treated as a cattle.
It's apocryphal at best. The guy was rejected by Google, but was never asked about inverting binary trees, like he claimed.
(I can believe that he was rejected on some other technical trivia, no clue. But the 'invert a binary tree' thing never happened.)
- cableshaft 5y agoOkay, so you admit he claims it did happen, but you say it didn't without supporting that claim at all. Do you have a source we can verify?
- eru 5y agoI was working for Google at the time, and saw an internal post by the guy who interviewed the candidate. I'm not sure if there's anything public (and what I am even allowed to say.) See https://www.quora.com/Whats-the-logic-behind-Google-rejecting-Max-Howell-the-author-of-Homebrew-for-not-being-able-to-invert-a-binary-tree https://www.quora.com/Whats-the-logic-behind-Google-rejectin... where he (at least partially) admits that he was bullshitting: > I want to defend Google, for one I wasn't even inverting a binary tree, I wasn’t very clear what a binary tree was. See also https://www.reddit.com/r/google/comments/7l5ibp/max_howell_homebrew_creater_finally_opens_up_on/ https://www.reddit.com/r/google/comments/7l5ibp/max_howell_h... for a discussion.
- nanidin 5y agoI highly recommend interested readers to follow through to the Quora page. It’s more or less a public apology, and helped break me out of the echo chamber that occurs here and on Reddit related to interviewing at Google.
- ant6n 5y agoIt looks like there are a bunch of programmers who think that having taken the first year uni course on data structures is more important than having experience actually building product and having it used by millions. It's kind of silly. Most programmers out of school have a lot to learn about building product and actually getting a big project done - which they are supposed to learn on the job. At a place like Google. Somebody who knows this part already could probably spend some time on the job learning about data structures. It's like these conventionally-taught programmers think they get to look down on somebody who actually built something cuz he's self-taught. (As a conventionally-taught programmer who is very comfortable with data structures I find that attitude aloof at best)
- nanidin 5y agoI have a traditional Computer Science background and I'm still intimidated to even apply to Google. I got out of bigCo Software Engineering in part because I wasn't interested in putting myself through the wringer of whiteboarding memorized solutions. I'm also the guy that found low hanging fruit in a huge codebase to replace things like frequent linear array lookups with hash table lookups for 10x+ speed improvements in the build process. This is IMO precisely the type of capability that "Oh, that's O(n^2), surely we can do better. Is there any way to do this in O(1)?" is designed to tease out in the interview process. I did it! In a build process effecting 1000+ engineers, used to build for millions of shipped units! But talking about this in an interview makes eyes gloss over as we prepare to move on to sort algorithm trivia, how would I design search, or doubly linked list implementations.
- ant6n 5y agoBut you know, hash tables have O(n) access...
- motioncuty 5y agoAnd this is where interviewing gets hard. Are we really going to not hire someone because hash table is O(n) in the worst case but O(1) on average. It seems like half the time there isnt a match, the interviewer is just as wrong as the candidate, and they are looking for someone who knows the same info as them, even if its half baked.
- andyxor 5y agohe wasn't "bullshitting", you didn't get the point of his tweet and quora post and I think you're kinda proving his point.
- TeMPOraL 5y agoHe wasn't "bullshitting" indeed. He was straight up lying. And his lie poisoned the thinking of millions (myself included) wrt. tech interviews. My opinion of the guy just dropped hard.
- bawolff 5y agoThat was interesting. > But ultimately, should Google have hired me? Yes, absolutely yes. I am often a dick, I am often difficult, I often don’t know computer science, but. BUT. I make really good things, maybe they aren't perfect, but people really like them. Surely, surely Google could have used that. To me at least, being a dick is a negative that outweighs making good things, especially for a large organization. Maybe google made the right call.
- quantumofalpha 5y agoRight, Google actually has a 'no jerks' policy and values being a good team player more than pure technical brilliance. Being a good engineer gets you L4 (mid) or low L5 level at Google. Growing beyond that is mostly about soft skills and influencing other people - that's not compatible with being a dick. It probably wasn't the case for him in 2015 yet, but these days google has a mandatory 'googleyness' behavioral round that the guy would fail hard with that attitude even if he could invert the proverbial binary tree.
- eru 5y agoI joined in 2014 as L4 (I think), and I remember having some googleyness interviews even back then. But I could be remembering wrong.
- bawolff 5y agoI dont think its unique to google that companies want to filter out people who are "dicks". Every company i have ever had an interview at has done behavioural interviews for that purpose.
- sudeepj 5y agoMy bad. I based on the tweet from the author himself [1] May be he meant to use "invert binary tree" as a representative example of questions that typically asked. [1] https://twitter.com/mxcl/status/608682016205344768?lang=en https://twitter.com/mxcl/status/608682016205344768?lang=en
- eru 5y agoNo worries. See https://news.ycombinator.com/item?id=27927159 https://news.ycombinator.com/item?id=27927159 for some more. > May be he meant to use "invert binary tree" as a representative example of questions that typically asked. Yes, that's a charitable and believable interpretation of his tweet. (Though I don't know where he got that 90% figure from. Probably made up, like 85.12% of statistics.)
- 6gvONxR4sf7o 5y agoIt’s a charitable interpretation, but seems super reasonable. Around that time, I think “inverting a binary tree” was a bit of a meme/shorthand about software interviewing.
- deleted 5y ago[deleted]
- carnitine 5y agoWas it? I thought that meme began from his post. To be totally blunt if you get asked to invert a binary tree in a FAANG interview, that’s very easy compared to most questions.
- catillac 5y agoInteresting anecdote, where did you hear that? I remember the original source tweet that was something like, “invented homebrew but couldn’t invert binary tree so they rejected me.”
- eru 5y agohttps://news.ycombinator.com/item?id=27927159 https://news.ycombinator.com/item?id=27927159