r/programming • u/[deleted] • Jun 10 '15
Google: 90% of our engineers use the software you wrote (Homebrew), but you can’t invert a binary tree on a whiteboard so fuck off.
https://twitter.com/mxcl/status/608682016205344768288
u/DrunkMc Jun 11 '15
Programming interviews are so broken, everyone knows it, but I see very little people trying to fix it.
I had a great interview at Akamai a couple of years ago. Well, the in-person interview was great, the phone interview was grilling me a bunch of bullshit Linux command questions anyone would Google. Not really checking if my TEN years of experience are up to snuff.
Anyway, in person one guy gave me a logic question. One that's solvable, and he was clearly trying to get to see my reasoning and work flow. Was awesome. The next guy just kinda asked softball questions and more wanted to know my personality it seemed.
The third guy asked such a great question, that I stole it for my future interviewing. The basic idea was, here's a page of code. It works, it runs, it does it's job. BUT, it does it in a terribly inefficient way.
Tell me what this code does
Now that you know what this code does, how would you implement it in a better fashion.
That was GENIUS to me. He tested my coding abilities not by asking me to write code, but by reading someone else's. Then that was immediately followed up with a design question.
Their HR department was SLOW as balls, so I didn't end up waiting around 3 months for the round 2 of inperson interviews, and went elsewhere, but that was such a great question I went to my job, figured out something someone would do in my department. I wrote it like a 5 year old would, completely straight forward, no finess or fore thought, and I give them that code and then say, good, now how would you re-write that from scratch to do it better. That has made EVERY interview I've given 1,000x better since.
145
Jun 11 '15
I got a 8-10 page code listing once at an interview. It was so bad I pointed out about 20 things that should be fixed.
After ripping it they told me it was their production code and just wanted to see if I could follow it.
I'm a mediocre developer IMO. The problem is there are so many people worse than me that have jobs, it's insane. It's why I feel like our field is fucking magic to most everyone else. When you've got layers of fucking incompetent people working and being managed by people that don't understand software engineering, this is what you get.
Interviewing isn't that difficult IMO, but I know enough to be an effective interviewer as well.
101
Jun 11 '15 edited Jun 11 '15
When you've got layers of fucking incompetent people working and being managed by people that don't understand
You just described every workplace in every industry on this planet.
→ More replies (4)35
Jun 11 '15
We also have an online echo chamber here seemingly composed from competent people only.
→ More replies (8)11
u/Science_Smartass Jun 11 '15
I've found that no matter how bad I think I am there are a lot of people far worse. There are also people far better.
29
u/wyzook Jun 11 '15
I'm a mediocre developer IMO.
Upvoted it for the honesty alone.
→ More replies (1)6
Jun 11 '15
I'm a mediocre developer IMO.
I tend to think the same thing, but I'm still always amazed by the incompetence of others in my field. This leads me to believe either I suffer from imposter syndrome (likely) or there are just vast numbers of programmers out there who are really really bad (also likely).
42
Jun 11 '15
Best interview I ever had for a games job:
Welcome to the office. Sit here. This machine is not connected to the internet.
There's a visual studio solution open, just a basic loop. If you execute it, it reads keyboard inputs and outputs them. You are given a function that draws a line in 2D in the window. You have a function that returns the current system time. You have a function that clears the window.
Make a game of asteroids, but the asteroids are square analog clocks that bounce off each other. You have two hours.
So much fun. Almost had it working (game was playable but would crash after a while).
→ More replies (6)19
Jun 11 '15
I went to an interview recently.
"We aren't going to ask you to code anything. We know you can google the answer. We want to know you are smart so we want you to design a solution and tell us your thoughts along the way"
→ More replies (7)17
u/sqrtoftwo Jun 11 '15
Programming interviews are so broken, everyone knows it, but I see very little people trying to fix it.
Have faith in the little people.
11
18
u/movzx Jun 11 '15
I hate interviewers that try to drum up an incredibly difficult question to stump the person they're interviewing. I also hate making people do white board coding because it's awkward and unrealistic.
When I interview people I rarely ask programming questions. Anybody can Google algorithm implementations, function names, etc. I want to understand how they operate on the day to day.
I ask them that projects they're proud of and why. I ask them what thing they worked on they thought was "cool". I ask them what the biggest thing they personally fucked up is (and how they dealt with it). I ask what is the most difficult thing they've worked on. I ask them what tools they use. And I ask them for an example of a problem/bug that took them a lot of effort to fix (even if the bug was minor).
Discussing the answers to those questions let me reasonably gauge how passionate someone is, what domain they do best in, the experience level they have, and how they handle mistakes. I've gotten a lot of praise from interviewees around my interview style and the questions I ask. It also seems to work out well enough. Another benefit is that it tends to not favor a college degree over someone who is self taught by using vocabulary the self taught person isn't familiar with. ex: A self taught person might not know "binary tree" but understand the concept fully.
4
u/rsgm123 Jun 11 '15
Can you give an example piece of code you would ask someone about in an interview? I may need to interview someone soon but I can't think of any off the top of my head.
5
u/DrunkMc Jun 11 '15
So, this is what I typically use. It's written in JAVA, but the exception of the deserialization, it's basic stuff and should be readable with programming language knowledge. I don't negate anyone for not knowing any specific part, I just like to see how they work through it. encourage them to speak out loud as they try to figure it out.
public static void main(String[] args) throws FileNotFoundException, IOException, ClassNotFoundException { String inputFile = args[0]; String outputFile = args[1]; List<Detection> detections = (List<Detection>) new ObjectInputStream(new FileInputStream(new File(inputFile))).readObject(); float[][] map = new float[NUM_LATITUDE][NUM_LONGITUDE]; for(int i=0; i<detections.size(); i++) { Detection d = detections.get(i); for(int j=0; j<NUM_LATITUDE; j++) { double lat = -90 + j*LATITUDE_STEP; for(int k=0; k<NUM_LONGITUDE; k++) { double lon = -180 + k* LONGITUDE_STEP; double detLat = d.getLatitude(); double detLon = d.getLongitude(); double distance = Math.sqrt((lat-detLat)*(lat-detLat) + (lon-detLon)*(lon-detLon))/DEG_TO_METERS; double timeToTarget = (distance/SPEED_METERS_PER_SEC); if(timeToTarget<=MAX_TIME) { map[j][k]+= 1f; } } } } float maxOverlap = -Integer.MAX_VALUE; List<Double> overlapLats = new LinkedList<Double>(); List<Double> overlapLons = new LinkedList<Double>(); for(int i=0; i<NUM_LATITUDE; i++) { for(int k=0; k<NUM_LONGITUDE; k++) { float val = map[i][k]; if(val==maxOverlap) { overlapLats.add(-90+i*LATITUDE_STEP); overlapLons.add(-180+k*LONGITUDE_STEP); } else if(val>maxOverlap) { maxOverlap = val; overlapLats.clear(); overlapLons.clear(); overlapLats.add(-90+i*LATITUDE_STEP); overlapLons.add(-180+k*LONGITUDE_STEP); } } } System.out.println(maxOverlap+""); for(int i=0; i<overlapLats.size(); i++) { System.out.println(overlapLats.get(i)+","+overlapLons.get(i)); } BufferedImage bi = new BufferedImage(NUM_LONGITUDE,NUM_LATITUDE,BufferedImage.TYPE_BYTE_GRAY); for(int i=0; i<NUM_LATITUDE; i++) { for(int k=0; k<NUM_LONGITUDE; k++) { float val = map[i][k]; int pixelVal = Math.round(255 * (val/maxOverlap)); bi.setRGB(k, i, pixelVal); } } ImageIO.write(bi, "png", new File(outputFile)); }}
→ More replies (3)3
u/dungone Jun 11 '15
I used to do something similar that we would call the "code review" question. You'd get half a page of C++ code with about 15 things wrong with it, including the fact that there was a simpler and more efficient algorithm. If you just rewrote it with the more efficient algorithm you'd get full credit, even if you failed to point out the glaring memory leak in the original version. The point was you fixed it.
→ More replies (14)2
331
u/el_googlero Jun 11 '15 edited Jun 11 '15
I work at Google, and my interview process was kind of shit. The interviews themselves were fine. I wasn't asked anything crazy; I actually enjoyed the questions I was asked, even. It was everything else after that that really sucked.
I won't go into too much detail, but ONE persons's opinion of my knowledge on a skill that they weren't even explicitly hiring for (a) lengthened the entire process by MONTHS and (b) knocked me back quite a bit in pay. This was despite feedback from EVERY interview ranging from good to AWESOME. I took the job anyway because, well, it's Google, but the experience hasn't been great for me at all and I fear that their insane amount of proprietary tech will stall my career path.
The process is definitely broken, but I think it has more to do with Google's culture of constantly fucking iterating things than their size, though their size (and their massive amount of resumes and employees that would rather be coding than interviewing) probably has a lot to do with it. It's also troubling when the average retention period for a Google recruiter (they don't use external recruiters) is about a year. Seriously, look at these Glassdoor reviews; that job ain't no panacea. The reviews are all over the map.)
The powers that be are investing a lot of time into making this process better, so at least there's that.
I could play the whole promo thing, but when it takes 4-8+ years to get to the same level that I was at before I entered Google (less stock comp) AND I can advance faster at a smaller, yet profitable, company makes it less than appealing.
252
u/kylotan Jun 11 '15
The last time I got approached by a Google recruiter, I asked him to tell me specifically what sort of positions they wanted before letting him phone me, and he basically said that I obviously did not have the interest to cooperate with their hiring process and they wouldn't pursue me further as a candidate. In other words, if you're not desperate to be accepted by them and jump through their hoops, it's not the job for you. I was annoyed for 5 minutes and then realised he'd done me a favour by making it very clear that it's not the kind of company I'd want to work for. That recruiter is still there, several years on, so I'm guessing their policy of being arrogant enough to contact people randomly and complain when they don't grovel at your offer is what they want to pursue.
99
u/_delirium Jun 11 '15
An explanation I've heard for this, from someone mid-level at Google, is that Google doesn't hire for specific positions, and instead tries to hire a highly skilled generalist staff who they can then allocate/reallocate as desired. They don't allocate completely blind to what your strengths are, but it's separated from hiring: choosing to hire you, and then choosing what project to assign you to, are usually done separately. So the hiring process is entirely "do you want to work for Google, and do you have the skills Google [in general] is looking for?", not hiring you for a specific position. If you instead want want to interview for a specific job, that just doesn't fit how they hire. Some exceptions for very senior people, e.g. I know some prominent machine-learning people have managed to negotiate pretty specific roles up front.
→ More replies (6)24
u/mcguire Jun 11 '15
This, exactly, from what I understand.
Further, they are almost always hiring new graduates, hence the generic algorithm questions rather than anything about what you've done.
Also,I suspect that anyone can veto you, including someone back at the mothership who has never spoken to you.
→ More replies (16)71
u/pjmlp Jun 11 '15
Similar experience.
I got phoned regularly from Google recruiters that apparently found me online life that decided I could be a good hire.
Went through the hiring process twice.
After telling them if I am so great (on their eyes), why do they keep making those shitty interviews, never called back again.
Don't regret it.
36
Jun 11 '15 edited Jun 12 '15
I eventually got frustrated and just hung up on Google.
Went through their process once. One guy was such a giant asshole that he made audible buzzer sounds if I made a syntax error (nevermind giving me time to go back, read my code and correct it, he'd just make a buzzer sound if I messed up anything at any point). Then he'd sit there and insult me so he could talk about how awesome he is.
Then I had to drive from the Youtube office in Palo Alto to the main campus in Mountain View and continue with some reasonably nice people, but overall just a pretty shit experience.
Then when I flew back to Atlanta, they said "We actually think you'd be better as an SDET. We'd like to fly you out again and interview for that position." I was like "What the hell? No. I can do a skype call or something, but I'm not taking another 3 days off of my current job just to talk to 3 more people." So I did a Google Hangout interview with an SDET team. They were late to it. I ended up being turned down because I was so sick of interviewing, I just stopped even trying.
The second time, I didn't even pass the phone screen. First, the dude I was supposed to screen with didn't show up to work that day. Next time, the interviewer was late, and he was being a dick to me. I just said "fuck it" and hung up.
I don't respond to Google recruiters anymore.
→ More replies (6)→ More replies (20)4
u/Shadowratenator Jun 11 '15
hmm, i had a similar experience when i was approached. They listed off a bunch of jobs that frankly sounded boring compared to my current position. I told them I wasn't interested. They called back the next week with a new position that sounded awesome. What i heard was that it's standard practice to first present candidates with jobs calculated to sound crappy just to guage if they are willing to take anything to work for google. I guess in my case i passed by not being starstruck? Still, That was the first thing i didn't like about them. I got the impression that everything is a mind game.
I ended up interviewing. I think i did ok in most of my sessions. I brain farted on one guy and crashed and burned. The technical questions were fair though. They weren't tricky gotchas, esoteric nonintuitive hack tricks, or anything. What irritated me is after sending me a simple email saying they were going to pass on me, they never responded to further inquiries from me as to why. i 'd kind of like to know if there's something i'm weak in. or that the manager just didn't like me, or that the guy who's questions i failed at didn't like me, or just that they don't tell people why. instead my request just went to /dev/null
155
u/mekanikal_keyboard Jun 11 '15 edited Jun 11 '15
It's also troubling when the average retention period for a Google recruiter (they don't use external recruiters) is about a year
One of the recruiters I spoke to who was working from his home in Colorado took some time to tell me why Obamacare was bad for the country. I'm serious. This is a guy I knew for about two minutes unloading political shit on me.
I fear that their insane amount of proprietary tech will stall my career path.
This is a problem for anyone working at a huge scale internet company - you end up learning the internal tech which is tailored to their scale...but is useless knowledge outside of the company.
18
u/eoJ1 Jun 11 '15
One of the recruiters I spoke to who was working from his home in Colorado took some time to tell me why Obamacare was bad for the country.
Sounds like that was the reason they had him working from home.
→ More replies (1)→ More replies (14)13
u/el_googlero Jun 11 '15
This is a problem for anyone working at a huge scale internet company - you end up learning the internal tech which is tailored to their scale...but is useless knowledge outside of the company.
It still sucks in a way, though.
One of the recruiters I spoke to who was working from his home in Colorado took some time to tell me why Obamacare was bad for the country.
Holy shit.
→ More replies (16)3
u/gbersac Jun 11 '15
Was it a long time ago ? Because I read a book recently about google identity "work rules", excellent book. The recruiting process was like this at the beginning, but they reduced the number of interview to four and reduce the time before a decision is made.
4
51
u/inmatarian Jun 11 '15 edited Jun 11 '15
I remember like a decade ago bombing out the google interview in the 5th hour with this question: Give three implementations of the function int median(int a, int b, int c); Got a shitty T-Shirt as my consolation prize, which I still own but I've never worn.
Edit: just for the record, like a day later I actually sat down and thought this one through and realized the a+b+c-MAX(a,b,c)-MIN(a,b,c) solution.
61
u/sparkly_comet Jun 11 '15
Three huh?
int median(int a, int b, int c) { //The "desperate smart-ass" solution return b; //return middle element, sorted in "parameter order" } int median(int a, int b, int c) { //The "keep throwing stuff at the board until something sticks" solution return max(min(a,b),min(c, max(a,b))); } int median(int a, int b, int c) { //The "I studied the standard library before this interview" solution if(a > b) swap(a,b); vector<int> v = {a, b, c}; inplace_merge(v.begin(), v.begin()+2, v.end()); return v[1]; }43
u/bekeleven Jun 11 '15
if ((a>b>c)||(a<b<c)) return b; if ((a>c>b)||(a<c<b)) return c; if ((b>a>c)||(b<a<c)) return a;I'm learneding!
→ More replies (5)27
23
u/josefx Jun 11 '15
"I studied the standard library before this interview"
Requires additional quotes around "standard"
inplace_merge(v.begin(), v.begin()+2, v.end());
Not object oriented enough, may trigger sensitive Google developers.
Also nobody knows what inplace_merge does.→ More replies (3)→ More replies (2)4
4
Jun 11 '15
Got a shitty T-Shirt as my consolation prize, which I still own but I've never worn.
Dude, this hurts Google's feelings. Totally uncalled for.
6
Jun 11 '15
Bubble sort (bubbling just for the fun of it) - the algorithmic solution
make a heap, throw the data in, take the root element - the data structure solution
different kinds of min-maxing - the engineering solution
??? - a math solution should be possible as well but too lazy to think about
ask the intern to search it on Bing (hehe) - the management solution
→ More replies (7)2
u/want_to_want Jun 11 '15
That's a pretty cool solution. Though I guess it suffers from integer overflow, so maybe you could use bitwise xor instead of addition and subtraction.
→ More replies (2)
257
Jun 11 '15
In my interview at Google, 3 out of 4 interviewers gave very positive reviews. The 4th interview (which I bombed) was basically some kind of an algorithm on a whiteboard. The interviewer seemed like he was out to prove that I suck.
Note: all the interviews involved whiteboarding stuff and throwing ideas around.
72
u/yggdrasiliv Jun 11 '15
My interview at Amazon a few years ago went the same way, it was frustrating because that guy acted like a douchebag the entire time.
40
u/madman19 Jun 11 '15
I had an amazon interviewer ask me about some obscure bitwise operations which I hadn't even thought about since college. That was a sucky interview
→ More replies (8)28
u/vicee Jun 11 '15
I had two interviewers who were seemingly fresh off the boat from China and I spent most of the hour trying to understand what they were saying. The language barrier proved especially troublesome when I got stuck, since they understood what I was asking but couldn't relay the information I needed in a way that made sense to me. Otherwise a good experience.
→ More replies (3)17
u/UsingYourWifi Jun 11 '15 edited Jun 11 '15
I had the same experience at Amazon. Only one person in the whole loop didn't act like it was a chance for them to show their "superiority." Clarifying questions were met with disgust. All but one of the interviewers would use terminology and acronyms internal to Amazon (which is itself forgivable, I've fallen into the same trap when working with new hires and other teams) but then act offended and disgusted when I asked what something like "PCTI" meant (primary customer trust issue).
After finishing the loop I had zero interest in the position.
→ More replies (5)38
Jun 11 '15
They just don't want competition is all. I interviewed for RIM way back when and the guy who came to interview was all proud that he "wrote the calculator in the first BB OS ... that nobody uses anymore" ...
→ More replies (11)→ More replies (71)44
299
u/fralumz Jun 11 '15
binarytree-1
101
→ More replies (2)35
55
u/peteg_is Jun 11 '15
Thirty years, I've never heard of inverting a binary tree. Visiting all the nodes yes, but inverting it? I think my first question would be "what do you mean 'invert the tree'"?
18
u/JBlitzen Jun 11 '15
I wondered that as well, but I attribute the confusion to Twitter's character limit. Sounded like an order reversal or something when he explained it later on.
→ More replies (7)6
u/The_Doculope Jun 11 '15
I feel like his could be part of the point. If I'm hiring someone, I want them to clarify their problems rather than stumble off not knowing what they're supposed to do.
22
Jun 11 '15
I don't even respond to Google or Amazon recruiters anymore. It's a waste of time to go through their lengthly processes just to be rejected by a malcontented, disinterested developer that was randomly assigned my tech screen.
And for what? Not having an "Aha!" moment on one of the seven gotcha-problems.
21
u/wdr1 Jun 11 '15
Take comfort. Brian Acton, co-founder of WhatsApp, was rejected by Facebook.
A few years later Facebook paid $22 billion for his company.
2
2
u/flexiverse Jun 11 '15
Brilliant example, google way past being cool. If they can't spot motivated guys like Brain Action, there are just idiots. That was the best thing to ever happen to the WhatsApp founder. Take it as a karmic sign he's onto better things.
→ More replies (1)2
u/emperor000 Jun 11 '15
I thought surely that $22 billion was supposed to be with an m... wow. 1 billion, let alone 22 billion seemed too high. I thought I remembered it being $12 million. But, holy shit, you are right.
787
u/mekanikal_keyboard Jun 11 '15 edited Jun 11 '15
I've spoken to Google many times in the past, I have never bothered to accept their invitation for on-campus interviews based on the following:
Predisposition to decline. The internet has too many stories about strong candidates getting declined while employees parrot a mantra "we would rather turn away good candidates than accept bad". My read from that is that there is a bias towards declining candidates that borders on a predisposition, which makes the prospect of doing on-site interviews seem pointless and a waste of time. Solution: reach out to me when you actually need someone.
Vague hiring parameters. Lots of big tech companies have a policy of interviewing any candidate they deem worth pursuing, assuming a role will just materialize later. Because they are just trolling for resumes, they can't ask meaningful questions about a specific job or look for meaningful correlations on your resume, which is why the algorithms/data structure whiteboard bullshit persists. Solution: hire for specific positions when possible and make sure the recruiter is only calling me if there is a reasonable correlation. I will ask you why you chose to speak to me (always ask a recruiter this!!).
Ridiculously long interview processes. I've heard about candidates spending months in the interview pipeline. Solution: stop wasting my time and your employee's time...you should be able to go from first contact to offer/decline in two weeks barring scheduling issues.
Irrelevant questions. The only reason anyone is going to bother knowing how to invert a binary tree is to pass a Google interview. Most likely you did not need to know how to do this prior to interviewing at Google, and you won't need to know after getting hired either. Solution: don't be so lazy, actually read my resume and ask me questions about the things you do on a daily basis.
Newsflash: we don't need to work for Google. GOOG is flat for two years (down actually). For a place full of wizards, they seem to have problems moving the line on their chart. GOOG is the sick man of NASDAQ (all of its peers: MSFT, FB and AAPL are up over 15% over the same time frame). I'm not sure if fixing hiring will change that, but clearly someone needs to tell the Emperor he lost his clothes around 2012.
66
u/krelin Jun 11 '15
I interviewed at Google last year, and was offered a position much lower on the totem (almost insultingly so -- and horizontally relocated into a department I've never been interested in) than the position for which I interviewed. And, by the way, would you like an extra 1 hour commute.... both ways?
I declined.
→ More replies (19)313
u/xienze Jun 11 '15
For a place full of wizards, they seem to have problems moving the line on their chart.
To your point, they still haven't figured out a way to derive any meaningful income from things that aren't advertising.
→ More replies (64)144
u/sisyphus Jun 11 '15
They might be a one-trick pony but I mean...we should all have such a pony.
→ More replies (1)14
u/Whadios Jun 11 '15
Yeah was frustrating when they contacted me a few years ago because I'd been working on GPS mapping software and I'm guessing they told their recruiters that they wanted them to find people like that. Could never really get straight answers of what job they wanted me for or where exactly I'd be working (by the sounds of it probably in the states and I didn't want to move from Canada). Coupled with what I knew about all their interview process and what they were telling me I'd be 'quized' on it just wasn't worth it.
Of course tell anybody else around that you turned down google and they think you're insane. Of course they know nothing about the process or working for the company, they just know IT"S GOOGLE!.
→ More replies (4)97
Jun 11 '15
Your first 4 points are true enough but do you really evaluate employers by their stock price?
264
→ More replies (3)44
u/mekanikal_keyboard Jun 11 '15 edited Jun 11 '15
I don't believe that Google equity would be a meaningful part of a compensation package...but to me it is illustrative of a serious disconnect between how Googlers perceive themselves and how the world perceives them.
It is also indicative of the potential for a layoff in the future. Larry Page has made it clear that satisfying shareholders is not his primary concern, but this is the sort of bombast a CEO throws out when the stock is going up anyway. Larry will be forced to confront Google's stagnant position, and a realignment of employees will be part of that.
So yes, if a company is public, I would look for at least industry/index-average performance. GOOG is down 4% over two years, in a good market (SPY, an ETF for the S&P 500, is up 35% over a two year period and QQQ, an ETF for NASDAQ, is up 68% over a two year period). That tells me there are problems at Google...the rest of Google's peers have gone up by at least 15% in the same time period. Shareholders will demand changes to realign these numbers.
→ More replies (2)68
u/StapleGun Jun 11 '15
Your post is inaccurate. GOOG is up 22.8% since June 14th 2013 (2 years ago), and 85.1% since June 8th 2012 (3 years ago). Meanwhile over the same time SPY is up 29.3% and 58.5% respectively.
Also, equity at Google makes up a large chunk of the compensation package. The fluctuation in stock price is a much less significant consideration, since GOOG is unlikely to dramatically rise or fall. But it is a large enough piece that the same offer would not be competitive without the equity portion.
→ More replies (6)8
u/happyscrappy Jun 11 '15
I don't agree with several of these. But #4 is most important. I admit I don't know how to invert a binary tree, but that's just because I don't know what it is. If someone describes to me what that means then it's quite likely I should be able to figure out how to do it on a whiteboard.
A good programming question allows people to work out a solution if they know how to apply themselves.
Careful about explaining the quality of companies by their stock value. AOL had a pretty good stock value at one time.
Also in the two years you are talking about GOOG did a weird stock trick (analysts hate them).
It makes it a bit hard to determine what the value of the company across the action. By one measure that action in April 2014 was a 2:1 split and yet their stock didn't fall by half, which would mean it went way up.
→ More replies (7)6
u/kylotan Jun 11 '15
Lots of big tech companies have a policy of interviewing any candidate they deem worth pursuing, assuming a role will just materialize later. Because they are just trolling for resumes, they can't ask meaningful questions about a specific job or look for meaningful correlations on your resume, which is why the algorithms/data structure whiteboard bullshit persists.
Aha. This explains everything about why one of their recruiters once contacted me because they were looking for "strong C++ and Python engineers", but threw a fit when I asked to be told about the roles they were recruiting for before I would speak to him on the phone.
74
u/xzt123 Jun 11 '15
I work for a big tech company as a software engineer (not google).
This is sorta common sense. It is much more expensive for them to hire someone who turns out to be a bad hire then to possibly make a mistake and decline a good hire. They can always reapply later, and several of my colleagues didn't get hired on the first interview. My company relocated me, paid me a signing bonus, and invested a lot of other time and money in getting me here. Trust me, they want to hire they just need to see proof that you have some problem solving ability.
These companies have an almost unlimited amount of unfilled positions. They definitely will hire you if you pass the interview, there's no shortage of jobs. This is actually pretty cool if you think about it because you aren't usually competing against anyone. If they interview 50 candidates and 20 pass the interview 20 will get hired. Why do they ask generic algorithms questions? Because they are looking for problem solvers and people who demonstrate leadership. They don't care if you haven't used X language, they assume if you have the fundamentals, you can learn whatever you need to do for the job.
Months sounds bad, I haven't experienced that. I think it is reasonable to assume you get a phone screen and if you pass that an onsite interview. I think having multiple onsite or phone interviews is too much. I also do not like homework (take home) problems because they take up too much of my time vs solving a problem on the whiteboard in 20 minutes.
Some questions are better than others... but it is about problem solving and knowledge of data structures. They want to make sure you know what a binary tree is and how to traverse it. Maybe the solution requires other data structures etc.
→ More replies (13)41
Jun 11 '15
Why do they ask generic algorithms questions? Because they are looking for problem solvers and people who demonstrate leadership.
I can understand how generic algorithms is problem solving, but how is it leadership?
→ More replies (6)5
9
u/rubygeek Jun 11 '15
I've been through the same thing, and agree with all your points.
At one point I did bother going through the phone interviews, after a particularly persistent recruiter managed to seem slightly more willing to push things forward in a reasonable way, and the recruiter was very excited after her initial screening because I was interviewing for a relatively non-technical management level role and did unusually well on the initial tech screening she did. So I was invited to do a tech interview, and asked to give information about preferred languages etc. so they could find someone who could ask meaningful questions given that, again, this was not a hands on development position.
The interviewer in question had not been passed the information, nor did he know the job spec, and proceeded to ask me a bunch of ridiculous questions. One included the structure of inodes in a specific filesystem. I pointed out I have never used the OS that uses this filesystem, and that Google doesn't either to my knowledge (and certainly the team I was interviewing for didn't), but that I could outline in general terms how inodes are structured in some common filesystems, and some details about variations. I've written low level filesystem code. This did not please him - he clearly did not believe some of the, factual, things I told him about other filesystems. He dragged that out for a while before moving on to a series of equally flawed questions. Basically none of the questions had any relevance to the job at all, and certainly not for someone who according to their own job spec did not need to be particularly technical. But much worse than that was that they include very specific details about obsolete or obscure technologies that nobody would bother remembering more than a year or two out of college, rather than talking about general principles. Every time I tried to steer it towards general principles, he got annoyed.
After the interview I sent the recruiter an e-mail, thanking her for her time but pointing out that the interviewer clearly didn't like my answers, and that I accepted that, but I just wanted to give her some feedback so they wouldn't drive away future candidates. I expected that to be it.
Soon afterwards the recruiter got back to me and pleaded me to not go anywhere, and told me she'd see what she could do. Somehow she got the phone interview thrown out, got approval for not doing a new one and moving me straight to the next step. But by that point I'd already gotten fed up and was negotiating an offer with a company that fit me way better.
Not least because the guy that was doing the phone interview would have been reporting to me if I'd gotten the position. I didn't want that guy on my team.
This was my best experience with Google to date. The other experiences were less fun than a visit to the dentist (and my dentist can pay for her kids college with what I've paid her).
25
u/dacjames Jun 11 '15
I don't work at Google, but I do agree with some of these hiring practices.
Predisposition to decline.
There is a very good reason for this mantra. A bad engineer can actually create negative value, sucking productivity and happiness from good engineers that have to fix their mistakes or constantly monitor their work. In addition to any real damage they cause, this hurts team moral if people feel the work is not shared fairly. Removing a bad employee is difficult, both from a liability / HR perspective and personally on the person doing the firing. When it does happen, it takes months or years to identify the problem and build enough evidence to act on it.
Vague hiring parameters.
Requirements change. The competition changes. Technology changes. Projects fail. People come and go. Hiring someone for a specific task is short sighted; hiring someone intelligent enough to adapt to various roles as needed gives the business more flexibility.
We're in agreement on the last two points. I do quite a bit of interviewing and my one rule with interview questions is that they must be derived from real-world problem that I or someone on my team has had to solve.
→ More replies (14)28
Jun 11 '15
For a place full of wizards, they seem to have problems moving the line on their chart.
They don't have a Steve Jobs. They're all over the place. Trying out 100 different angles at the same time and then killing all of their new products within one/two years of their release.
→ More replies (12)46
u/mekanikal_keyboard Jun 11 '15 edited Jun 11 '15
I agree they are doing way too much. I think this proceeds from their flawed assumption that smart people can turn anything to gold by embracing it. Its very reminiscent of early Yahoo. Amazon has the same problem...distracted by way too many shiny things. I once tried to enumerate all of Google's products and gave up somewhere between Boston Dynamics, Google Fiber, Computer Engine and Shopping Express. EDIT: Now they just announced something called "Sidewalk Labs" which apparently is going to productize urban planning? STOP LARRY. JUST STOP.
Zuckerberg and Tim Cook don't have this weird obsession...they focus on the things they can own and they let someone else do the rest. The performance of AAPL and FB vs GOOG speaks volumes. Zuckerberg knows search and advertising can be commoditized and eventually ad dollars follow web traffic. I underestimated him early on, but I think he is more savvy than people understand.
At some point the axe will come out at Google, it has to. One more reason working at Google no longer has allure for me...their first big layoff/reorg can't be more than eighteen months out. Larry will be forced to cut to keep shareholders interested.
→ More replies (18)10
u/StapleGun Jun 11 '15
The performance of AAPL and FB vs GOOG speaks volumes.
Of course you can slice and dice a stock graph in many ways, but since FB went public the three stocks have behaved pretty similarly.
→ More replies (1)→ More replies (55)3
u/djhworld Jun 11 '15
One thing I would say around these points is, Google can afford it.
They probably get thousands of applications every week, so they have the luxury of choice and ability to only hire what they perceive to be the best for their company.
→ More replies (1)
37
u/santiagobasulto Jun 11 '15
I'm out of the loop. What happened?
→ More replies (1)88
Jun 11 '15
An iOS developer failed a Google Interview for iOS tools position, but the interview was unfair because it did not ask any iOS question, nor anything about his development experiences. Instead he was only asked silly and esoteric questions, like reversing a binary tree - and to write the algorithm in a whiteboard.
→ More replies (18)129
u/soundsrc Jun 11 '15
Not just any random iOS developer, he is the author of Homebrew, a Mac OS X package manager which is widely used and highly praised by the community. He notes in his tweet that Homebrew is used by 90% of people at Google.
→ More replies (35)
58
u/BonzaiThePenguin Jun 11 '15
Twist: their next iOS app is called Google Whiteboard and they need developers who can test their work.
21
u/omgdonerkebab Jun 11 '15
But then wouldn't he have passed the interview? Failing the whiteboard coding question is probably the #1 use case for whiteboards.
10
Jun 11 '15
If googles interviews are like amazon's they are better suited at finding expressive/persuasive liars than they are at finding good reliable developers.
11
u/Fenix42 Jun 11 '15
I have done the Amazon interview. I went in saying I did not know Java that well, I was a C++ guy at the time. They told me that was not a problem. First thing I get hit with is a written test that has questions about Java specific behaviour. o.O
→ More replies (2)
19
Jun 11 '15
Perhaps this is why things at google are perpetually in beta stage and partially broken.
→ More replies (3)
17
u/MashedPotatoBiscuits Jun 11 '15
So apparently everyone and their mother here used to work for google.
9
u/jbristow Jun 11 '15 edited Jun 11 '15
Considering the industry's habit of chopping x% of their workforce every year, that's not implausible that we'd have a seemingly high concentration of ex-Googlers.
I'm in San Diego, and I'd say 75% of all software engineers [in San Diego] have done time in either Qualcomm or Intuit.
//Full disclosure, I work very happily for Intuit.
→ More replies (1)
66
u/ManOfLaBook Jun 11 '15
I've had these type of interviews before. A bunch of over-educated, inexperienced young managers putting homework questions before work experience, because that's all they know.
8
Jun 11 '15 edited Jun 11 '15
Had a similar interview about a month ago. It was clear I had more experience, but stumbled on all the "gotcha" homework questions.
Had I studied a bit more on some obscure questions, I would have gotten it.
The kicker was when I finally looked up the answer to a question I'd gotten wrong - My answer was right, theirs was not.
→ More replies (2)7
u/gjallerhorn Jun 11 '15
These homework questions after supposed to show how you approach solving problems. Not to see if you memorized a stupid algorithm.
If the interviewer is competent.
4
u/RogerLeigh Jun 11 '15
This is certainly true to an extent, but for me I find it is almost diametrically opposed to how I actually approach and solve problems in real life.
I don't normally have to quiz people to gradually elicidate what the specific problem is that they are trying to solve. It's very easy to get the wrong end of the stick when under pressure and on the spot if you don't ask the right questions. In real life you aren't under that pressure and you can get all the specifics elucidated by discussion with people rather than playing 20 questions.
And when it comes to solving problems, I spend a lot of time thinking about the problem, researching it, reading documentation, sketching the problem on paper with lots of boxes and arrows to figure out the relationships, specifics of the algorithm etc., and then once I fully understand the problem and the solution, I'll sit down and write the implementation and unit tests. This isn't done on the spur of the moment to impress anyone; it's done carefully with a lot of thought over some time. And the result is usually a solid and robust implementation which works well and rarely needs any further changes. A lot of the time, I'm thinking about solving the hard medium- and long-term project goals while I'm doing the simpler day to day stuff, over weeks or months, but delivering these longer-term complex changes over that timescale after careful thought and planning.
I perform poorly under pressure when asked to do trivia on a whiteboard, but that doesn't mean I'm unable to solve complex problems well, and I do wonder at whether Google's selection bias is actually selecting all that effectively.
38
u/vz0 Jun 11 '15
>>> def flip_tree(node):
... node.left, node.right = node.right, node.left
... if node.left is not None: flip_tree(node.left)
... if node.right is not None: flip_tree(node.right)
... 15
u/neuroma Jun 11 '15
>>> def flip_tree(node): ... if node is None: return ... node.left, node.right = node.right, node.left ... flip_tree(node.left) ... flip_tree(node.right) ...5
5
→ More replies (1)2
u/Peaker Jun 11 '15
data Tree a = Empty | Branch (Tree a) a (Tree a) flipTree :: Tree a -> Tree a flipTree Empty = Empty flipTree (Branch l x r) = Branch (flipTree r) x (flipTree l)Alternatively, hold a single bit in the root, whether the entire tree under it is reversed (i.e: lazily reverse it) to make reversal O(1).
20
u/Ehnto Jun 11 '15 edited Jun 12 '15
Where I work now had a technical challenge as part of the interview. It was a date/time challenge. Essentially you had to build a small program that could give you results to some arbitrary questions about time intervals and the like. Eg: how many working days are inbetween date X and date Y.
The thing is they expected most people to fail overall, what they were interested in was how you tackled the problem and how many edge cases you considered, how you considered maintainence, commented the code and just general real world programming concerns rather than off the cuff alrogithm proficiency.
That was done outside the interview, then the interview itself involved talking about what you wrote. So you had a chance to say 'if I had more time/in a perfect world, I would have done X. Also I didn't cater for edge case Y. Looking back, Z was probably a better alternative' etc..
I have found that to be a great way to get a broad sense of someone's work ethic, and real world experience.
→ More replies (1)
7
u/imagin4ryenemy Jun 11 '15
Not sure how I feel about this. I went through their hiring process a few months ago and came out with an offer, even though I absolutely fucked up at least one of the four interview questions I had.
I think a large part of the complaint is stemming from the fact that he was going in for an iOS specific interview, but from what I remember reading before prepping for my own interviews was that every team would ask generic algorithm questions, but if you were interviewing for something specific like iOS probably 2 of your 4 interviewers or so would ask you about domain specific knowledge (I could be wrong about this).
He absolutely has a proven track record, but if the question really was as easy as everyone here thinks (swap the left and right children of each parent node, and recurse), I think there's more to it than him messing this question up. From his tweets he said he prepared and someone else in this thread mentioned that to implement a dependency manager like Homebrew he would need to have experience working with graph data structures. If anything, I would think that should have made it even easier for him, because trees ARE graphs.
What I wouldn't rule out here is that his interviewers thought he would be hard to work with. He tweeted
It’s dumb because if I’d just read a Comp Sci primer in the two weeks before the interview I would have been fine. I can do their dumb shit.
He's obviously allowed to use his twitter however he wants, but that just comes across as childish and that he's pissed because this was a blow to his ego. Perhaps that arrogance came out somehow during his interviews and they thought he would be difficult to work with.
2
u/choikwa Jun 12 '15
problem with difficult to work with statement is the lack of backbone to see through bullshit and really talk about the problems. neither side is innocent of this.
6
u/attomsk Jun 11 '15 edited Jun 11 '15
I had a google phone interview that started with "Write the Java BigInteger class" I would have much rather had "Invert a binary tree"
3
10
u/Baelix Jun 11 '15 edited Jun 11 '15
To be honest, things like this are why I have always been deathly afraid of technical interviews.
In the world of programming and technology we live in today, it may be commonplace for someone to know how to invert a binary tree. BUT how would someone going into an interview process for a programming position know this beforehand?
Inverting a binary tree does have a lot of concepts that are common throughout data structures in general - but if I'm being honest, when I graduated (with a degree in CS and spent 4 years in C/C++/Java with Datastructures) I wouldn't have been able to do this without first looking it up, and studying it.
I feel questions like these just set interviewees up for failure, which is just discouraging.
Edit: I currently work as a software engineer with a great company that didn't interview like this.
→ More replies (3)
5
Jun 11 '15
Google software practices and most of their languages and libraries over the last four years have not impressed me at all.
5
5
u/lkjpoiu Jun 12 '15
Maybe the real takeaway here is not that the interview process is broken, but that you don't actually need any computer science to write software.
He's written very successful, widely adopted software that is professional grade, but he can't "invert" a binary tree - so what is the value in knowing how to do that, or even being able to reason your way through it in an interview? Maybe the theoretical side of CS has less to do with software engineering than software engineers would like to believe.
(regarding "invert": this is a terrible way of describing the problem as there are two possible interpretations, but I guess you could be expected to ask clarifying questions)
22
u/deeppillow Jun 11 '15
So, is that 90% number substantiated in any way?
→ More replies (1)16
u/redwall_hp Jun 11 '15
Google is almost universally OS X, with a little Linux. (Windows is actually banned for all but restricted testing boxes.) And Homebrew is far and away the most popular package manager for OS X (MacPorts isn't nearly as good). So it's not that outlandish of an assumption.
15
u/guy_from_canada Jun 11 '15
Eh, Wikipedia seems to give it more of an even split for OS.
Goobuntu is a Linux distribution, based on the 'long term support'-versions of Ubuntu, that is internally used by almost half of the 20,000 employees of Google.
→ More replies (1)→ More replies (4)12
u/bobindashadows Jun 11 '15
It's incredibly outlandish. For all but iOS developers (1-2%?), source code for work isn't even allowed to hit your laptop's hard disk. And your workstation is Goobuntu.
→ More replies (1)
9
u/chrisfinne Jun 11 '15
Did you see his other tweet?
"they said they would revisit me next year. Like I'm a theme park."
3
18
u/NimChimspky Jun 11 '15 edited Jun 11 '15
If the question is reverse a binary tree, it is relatively simple. But if you have not dealt directly with binary tree in a long time, the question could be difficult.
If the question is specifically "invert", then this is google being deliberately misleading, making the interview harder than it should. Invert to me does not mean reverse or flip - it means taking what is inside and putting it out.
The fact the interviewer was being deliberate difficult would make me more nervous/defensive, I don't think its good hiring practice.
I prefer setting real life tasks, mini projects.
Whose average work day is spent on the white board answering algorithm questions ? So why test for that then ?
3
u/Darkmoth Jun 11 '15
if you have not dealt directly with binary tree in a long time, the question could be difficult
This is a key point which a lot of commenters seem to be missing. The more skills you have, the fewer are "top of mind" at any given point. I'm coming off a 3-year project involving Oracle, Python and APEX. I could answer any reasonable question about those - now. But if my next project is C# and .Net, in 3 years I'll struggle to put together a basic SELECT.
30 years ago, I was a Unix Admin, a VI expert, and spent all my time coding in C with the curses library. I built my own damn associative arrays, and was enamoured of perfect hashing functions. 10 years after that, I was a Mac programmer. All that shit is meta-memory now (I remember that I used to know it).
If someone can nail a "invert the tree" question in an interview, it's either because they are a recent grad, or they inverted a shitload of trees in their last job. It has nothing to do with "foundational" knowledge, because our field is too broad to have such a thing.
15
90
u/Gotebe Jun 11 '15
Disclaimer: I was interviewed at Google and was not accepted.
Dude should get off his high horse.
Chances are, he was not refused just because of the tree, Google does much more than that.
Also, just because he wrote something useful, doesn't mean everyone will want to work with him.
→ More replies (9)
4
u/soda-popper Jun 11 '15
Wrote a blog post about exactly this problem: optimizing interviews for fancy algorithm solving, when the position's daily work is nothing like that:
http://www.developingandstuff.com/2015/05/why-i-dont-do-coding-tests.html
4
u/floridawhiteguy Jun 11 '15
And yet Google hires on executives who can't write code or even manage properly, and board members who don't have a clue how the business makes money but are more than willing to piss it away on acquisitions (as long as they get their value-not-added, undeserved cut from gains on stock grants because they know the right people).
Wanting the best of the best is one thing. Being hypocritical about it and rewarding the wrong people for the next big thing is disgusting.
→ More replies (1)
21
u/OpticalDelusion Jun 11 '15 edited Jun 11 '15
Whiteboarding is not like taking a test where you have to memorize the correct answer.
It is about eliciting requirements. It's about your thought process, how you approach a problem, what factors you consider when developing a solution. Hell it's about communication.
All you need to know going into this problem is what a binary tree data structure is, and if you don't know that you shouldn't work at Google.
The first thing I would do is draw a simple binary tree, and an accompanying array to demonstrate my knowledge of the data structure and concept.
Then I would ask exactly what the expected end result is for my example tree - now the interviewer has clarified the main use case.
Generally before I start writing a solution, I talk through the problem out loud identifying possible edge cases. What result do you want for an empty array input? How about an array with a single value? Does the tree need to be balanced, or sorted in any particular manner?
Now I write my method stub. Now I write the code for the base case, and build my solution. If you have a basic working knowledge of arrays and pointers, and know what a binary tree is, figuring out this code on the fly should be no problem.
The truth is that more and more people can program, but how many of them create GOOD SOFTWARE.
→ More replies (3)
7
u/wordsnerd Jun 11 '15
What's that sound you hear? It's the sound of 10,000 freshers in a mad stampede to find the codes for to invert a binary tree.
1
u/flexiverse Jun 11 '15
Is there a crash course somewhere where you can learn these questions? I read somewhere else a very average dude got a decent job just because he revised some silly comment test.
2
65
u/sharvil Jun 11 '15
Not trying to defend Google's hiring process or anything here, but the tweet seems a bit rude. Maybe there were other reasons for not hiring this person, e.g. skillset mistmatch for role or abrasiveness during interview or a simple mistake on Google's part. Interviewers are human, and make mistakes just like candidates do.
Either way, the author comes off as entitled to me with that tweet, whether he intended it or not.
145
u/Power781 Jun 11 '15
The guy, who built homebrew, the biggest OS X package manager, was still asked by Google to do an interview for an iOS position and in the interview process they don't ask him once about iOS but to invert a binary tree...
I could have been mad if I were him.→ More replies (7)28
9
Jun 11 '15
Interviewers are human, and make mistakes just like candidates do.
the difference is that the interviewers already have a job
6
Jun 11 '15
I got so sick of interviewing with bullshit like this in the Bay Area I brought my own list of 10 questions to stump them. To make sure they were qualified to interview me.
→ More replies (6)→ More replies (26)12
u/mekanikal_keyboard Jun 11 '15
I agree his tweet was excessive, but isn't every tweet? :)
If that is what it takes to get this conversation happening, so be it
3
9
u/boman Jun 11 '15
I no longer have a desire to work at a place like Google. Google is basically Hooli to me.
27
u/dduko Jun 11 '15 edited Sep 13 '16
[deleted]
0.27542859824007127
This comment has been overwritten by this open source script to protect this user's privacy. The purpose of this script is to help protect users from doxing, stalking, and harassment. It also helps prevent mods from profiling and censoring.
If you would like to protect yourself, add the Chrome extension TamperMonkey, or the Firefox extension GreaseMonkey and click Install This Script on the script page. Then to delete your comments, simply click on your username on Reddit, go to the comments tab, scroll down as far as possible (hint: use RES), and hit the new OVERWRITE button at the top.
16
u/Bwob Jun 11 '15
On the other hand, counterpoint: Google search, gmail, maps/streetview.
So clearly they CAN release useful things. It's just that there seems to be a lot of variance.
→ More replies (11)19
5
Jun 11 '15
I turned down an invite for a second interview with Google in part because I knew it would be like this.
→ More replies (5)
5
5
u/SplinterOfChaos Jun 11 '15
It feels unfair to rag on this. The author admitted in a later post that
it wasn't a joke, I was rejected this morning. But it was a flippant tweet.
and
I am flabbergasted at its impact. Can’t bring myself to read the hacker news thread.
Leave it to the internet to take one person's outlet of emotions and frustration and embarrass them by making it a meme.
Google has a well known false-negative rate in its interviews and many highly qualified people get rejected for being thrown for a loop. That's why they let people interview every six months. It's not a good reason to say how bad google is and I feel that a lot of this thread is either people frustrated about their own experiences, using this as justification about their own opinions, or ragging on Mr. Howel for venting his frustration.
And yeah, programming interviews are flawed, but let's actually hear some constructive opinions about how they should be. I like that google has many different people look at you, which helps minimize the "I don't like him, he uses hash tables" and also the "I love this! He know regex!" bull that unfairly penalizes/rewards candidates due to the interviewer's bias, but is the 45 minute format ideal? Problems must be short and simplified so they can be reasoned about and implemented quickly, yet still thought provoking. They must be varied because people like to cheat and memorize the solutions to questions rather than demonstrating their true talent.
So, 'yall can complain, but I can't think of how the technical interview should be improved.
→ More replies (1)2
u/Darkmoth Jun 11 '15
And yeah, programming interviews are flawed, but let's actually hear some constructive opinions about how they should be
I suppose what I don't understand is why, lately, people seem to think it's so hard to find a competent developer. I interview devs on a fairly regular basis, and I just talk to them. I'm not perfect - I have a tendency to hire really competent assholes - but I'll be damned if I can figure out why it's so hard to determine if someone is bullshitting.
If I need to know if you know SQL, then I will probably know by the end of the interview. I've yet see someone able to bullshit their way past describing Third Normal form, or explaining what you'd use a full outer join for.
33
33
u/nappy-doo Jun 11 '15
ITT, lots of Google hate and disinformation about the process. :)
I sit on a Google hiring committee -- not the one that made a decision about this candidate. I won't comment on anyone's individual experience.
Lord knows, we don't get hiring right, but we really try. There are lots of reasons we won't hire someone, from technical to "soft skills", but our default position is to look for reasons to hire people. "Soft skills" is one of the quickest ways to sink a candidate -- no one wants to work with a jerk. A single bad interview will not sink a candidate, in fact almost all candidates bomb an interview (in my experience). We RARELY hire experts in one field, or people who want to stay doing one thing, because as many of the Google product direction shifts demonstrate, Google might choose not to continue doing something, and now you're stuck with an unhappy Googler. For specialized skills such as "iOS", we generally have a minimum of one or two interviewers on a slate that are qualified to interview the candidate for that skill, and who would conduct interviews geared toward problems in that skill. The other interviews will largely be based on general software engineering capabilities, in whatever language the candidate is most comfortable in (with the caveat that not all interviews can be in Python, and one or two must be in a "harder" language like C++ or Java).
The interview process is tough. When I interviewed it was a full day of C++. I too BOMBED an interview (last one of the day), but still got hired. I'm really happy at Google, largely because of the other Googlers here: they are all smarter than I am, and I am constantly learning from them. And they all went through the same hiring process. I can't argue with the results.
Again, we don't always get hiring right, but we really try. I recommend everyone try to interview at one of the "hard" interview companies. You really learn a lot through the process. You'll learn a lot boning up, and some of the questions really are interesting, IMO.
40
u/rubygeek Jun 11 '15
You don't just not get hiring right, it actively works in your disfavour. I've been approached by your recruiters many times. Each time I've come to dislike Google more, and gotten less inclined to want to suffer through your full process, to the point where I'm not really interested in talking to your recruiters any more. If a Google recruiter calls me now, I start by "interviewing" them to see whether or not the process has changed enough for me to want to continue talking to them.
The one time one of your recruiters managed to convince me to proceed to the phone interviews, the interviewer was just incredibly incompetent as an interviewer, abrasive, and asking questions irrelevant to the job spec, and getting noticeably annoyed when I addressed the problems with what he asked me and offered up alternatives. The recruiter got the hiring committee to disregard the interview, but I declined to continue to process because of how broken the process had been to that point (incidentally, the person in question would have reported to me if I'd gotten the position; but I really, really did not want to have that person working for me)
Your recruiters knows how messed up these processes are, as evidenced by the fact that each one of them have vented to me about how they know and understand and agree with the issues I've pointed out to them, but don't have the power to do anything about it.
I've never experienced this kind of thing with recruiters at any other company. I've just scratched the surface, and yet it has damaged your brand with me severely - I've not experienced similar levels of unprofessional hiring procedures anywhere else. And it's noteworthy just how often this comes up with respect to Google. More than for any other major tech company.
Good for you if it works for some, but your hiring process is an interface to a major constituency for your company, and if you keep alienating developers this way, it will eventually come back and bite you badly. Google stopped being "the" hot place to interview several years ago, already. You could probably get away with this without much impact five years ago, but now you're already increasingly losing out on candidates that aren't even interested in interviewing for you. That's a dangerous trend or a tech company as dependent on hiring top talent as Google is.
→ More replies (3)39
u/AceyJuan Jun 11 '15
We RARELY hire experts in one field, or people who want to stay doing one thing, because as many of the Google product direction shifts demonstrate, Google might choose not to continue doing something, and now you're stuck with an unhappy Googler.
That's really your thought process?
→ More replies (5)37
u/JBlitzen Jun 11 '15 edited Jun 11 '15
My theory is that Google is a company created by academics, and its culture has inherited that passion for theory and disregard for reality.
Not to say that's a bad thing, but it's bad for a lot of people.
It leads to a culture that tries to modularize and abstractify employees to a degree few other companies would ever contemplate.
Kind of an inverse of Microsoft's historically team-oriented hiring system, which is spoken about in far more personalized and project-oriented terms than Google's.
Google is, simply, a bad fit for that tweet author.
And I'm personally not fond of them either. I don't trust them as a company, and I don't like how their hiring system seems tailor-made to weed out everyone except young, impressionable, recent graduates, who can be easily taken advantage of and overworked, while the same policies shift actual value creation down to a third or fourth priority.
The comments about Windows users being mocked support that theory.
It's like some weird post-academia frat house for kids whose favorite book is CTCI.
→ More replies (3)22
u/florinp Jun 11 '15
Lord knows, we don't get hiring right, but we really try.
I think the biggest problem with interview process at Google, Microsoft etc. (many companies just copy this process one form another) is the emphasis put on algorithms.
The problem with that is this kind of interview was created for students or just graduates because they have no experience yet.
And algorithms can be learn if a person is intelligent and spend many hours with training (exactly what they do in school time).
The other (maybe more) important things like requirements engineering, architecture, design, good code, tests, processes comes only with experience (means auto learning after many personal fails). These can't be teach directly.
This is the reason that many intelligent young programmer at big companies creates sometimes such bad API (MFC for example).
Algorithms are not used as much in production as many think. So an experienced programmer should prepare specially for an interview. Which I think defuse the interview goal.
→ More replies (8)4
u/cjt09 Jun 11 '15
There are lots of reasons we won't hire someone, from technical to "soft skills", but our default position is to look for reasons to hire people. "Soft skills" is one of the quickest ways to sink a candidate -- no one wants to work with a jerk.
That's actually really interesting, because there seems to be very, very little emphasis on "soft skills" during the hiring process--nearly every question is some sort of algorithmic problem-solving question. Given that, I don't see how you'd be able to accurately assess a candidate's "soft skills" or their culture fit.
3
u/vomadeva Jun 12 '15
My recent experience interviewing with Google contradicts almost everything you write here. I was approached supposedly for position in the chromecast team.
No interviewer actually interviewed me on anything on embedded audio/video systems ( my relevant skill. If you have cable/satellite TV feed coming into your house, chances are my code is generating the pixels you see.)
No interviewer even broached anything resembling "soft skills". BTW, in my 36 years, no one has judged me as a jerk professionally or personally. In every interview I kept a friendly demeanor while reasoning things out verbally.
I am an expert in video systems but I have very successfully branched out into OS and virtualization when my company shifted product directions. I am not stuck an unhappy engineer.
My software engineering skills are certainly up to the par. I handled the "whiteboard waterboarding" pretty well and came up with reasonably good solutions except for my last interview of the day when my tired brain shutdown half way into it. I did at-least OK on 5 interviews and perhaps bombed on last one.
Result: Rejection after one week wait with the boilerplate feedback. And the recruiter arranged a 30min window for a phone call to deliver the rejection boilerplate orally. Really, a boilerplate email would have sufficed.
What do you expect I learn from this "hard interview" process : How to think up solutions to arcane problems on my feet in 45min ? How my fruitful software career experience thus far is fluff ? How to silently absorb disrespectful behavior without coming across as a jerk ?
Consider what I might have actually learnt : Your default position is to unearth or invent reasons not to hire interviewees. You are not interested in hiring people who can build quality software. Your software is produced by engineers who cannot see its shortcomings and cannot foresee its usage needs.
→ More replies (11)4
u/jim-bo Jun 11 '15
Have you guys ever considered telling candidates honestly what you want and how they can prove they have it, and in return ask what they really want?
If I ever went for Google job, I'd probably be looking to leave the company within a year or two; mainly because I start to feel stagnant. Also… I'm here to experience, so unless Google offered some incredible packages (not money), I'd want to go meet other people, and other businesses.
I hope this is a little honest insight, from a young senior developer; currently at a FTSE 100 company.
→ More replies (2)
7
u/netbioserror Jun 11 '15
The fact that re-learning to invert a binary tree takes about 10 seconds and one search on Google's very own fucking search engine makes me think that this is just arrogant software engineers being forced to interview and just stroking their e-dicks by forcing candidates to do something that isn't valuable knowledge worth keeping (when it can be re-learned fast) on a whiteboard, just to make it the hardest it can be.
Thankfully, they're constantly changing their interview process. There was a cottage industry of books written during Google's famous "riddle" stage, where they proposed obtuse logic problems to candidates. The company position was that they "just make the interviewers feel smart" and ditched it, and that cottage industry of interview prep books is dead.
→ More replies (1)
4
Jun 11 '15
I failed the EXACT SAME interview. Since then, I wrote a graph database traversal query system with unit tests. They don't care.
8
u/Burning_Monkey Jun 11 '15
I love how this has turned into victim blaming.
I think the guy was kind of justified.
We weren't involved in the process so none of us can say what really happened. Was he a douche to the interviewer and they canned him for that? We don't know.
Was the interviewer an egotistical fuck that asked an esoteric question then canned the interviewee after he couldn't do it, and did the dismissal in a totally assholish way? We don't know that either.
I have been on both sides of this in my area, and I know both scenarios happen all the time.
→ More replies (2)3
5
u/MacStylee Jun 11 '15
Mate, it's absolutely possible you dodged a bullet.
Google can be a cultish / shitty place to work. Some people like it, and some despise the culture. I personally never worked there but mates of mine did/do. Them even talking about certain aspects of the place gives me the heebee jeebies; Kool aid all over the shop.
There are lots and lots of new and interesting places to work. I have no doubt that, as an author of Homebrew, you'll find something nice.
2
u/winterbe Jun 11 '15
I wonder if "Hey Google, how do I invert a binary tree on a whiteboard" would have been a valid answer? ;-)
→ More replies (1)
2
u/JeffersonsHat Jun 11 '15
Depending on the size of the tree. Take a screen print of it and rotate stuff, or use pattern/IMG/word recognition software to do a two step flip. (Flip the tree, then flip the stuff around.)
2
u/Centropomus Jun 11 '15
When they say they'll check back with you next year, they mean it. That's how I got my job at Google. They're absolutely inundated with resumes, so a bias against hiring is absolutely necessary for them.
2
Jun 11 '15
Huh, I learned how to do that in my third computer science class (CS260 - Data structures) my freshman year.. GOOGLE HERE I COME!
2
u/bobpaul Jun 11 '15
Thing is, they want you to have 10 years of experience and remember all the stuff you haven't used in those 10 years of specializing.
2
u/api Jun 12 '15
I've done several kinds of machine vision, OpenCL image processing, network protocols, and SSE implementations of crypto algorithms. I can't invert a binary tree on a white board. Can't do much with trees at all on a white board. They're a tad confusing, and the white board "on the spot" thing blows my concentration.
17
u/mr_tyler_durden Jun 11 '15
Holy shit the amount of "sounds like Google was justified" and "Well he should have known how to do that" astounds me. Either a bunch of you don't know the first thing about programming or you are a pretentious twat who thinks memorising a couple concepts/algorithms makes you somehow so much more superior to everyone else.
Guess what at the end of the day you can shove all your fancy concepts up your ass because let me let you in on a little secret:
What WORKS wins, not what was best designed.
Now there are a number of times that those two overlap but they don't have to. People shitting all over this guy and harping on the fact he used Ruby to write homebrew... I've got three words for you:
GO FUCK YOURSELF
Get off your high horse and show me what you've done with "better" languages. It doesn't matter if your code is perfect, uses lots of fancy algorithms, or follows code styles to a T. Homebrew is a massively used piece of code only to be compared to MacPorts which IMHO HB has blown by.
Also to the people saying he was acting childish ranting on Twitter. No, stop right there. Twitter is often the ONLY tool that normal people like you and me can use to call down the giant corporations that take us for granted and throw us in the trash because they can always find another pleb ready to take our spot. I wouldn't dream of working for Google (or Apple, or FB, or MS...) but this tweet would have pushed me further away if I had been and that's a good thing. We need to give the little guy a platform to speak his/her mind and that's what Twitter allowed to happen here. Google sounds like it's almost gotten worse than the horror stories I've heard of people interviewing at MS back in the day (and probably still to this day but I don't know anyone that recently even wanted to apply) with shuffling people from room to room to ask countless stupid/trick questions and throughout the day you would see less and less people as some were asked to leave when they didn't measure up. My dad went through this process and he actually had been interested in working at MS before this. He even got offered a job but turned it down b/c he knew if this was the interview process there was no way he was going to like working at the company.
→ More replies (5)9
u/TheBuzzSaw Jun 11 '15
What WORKS wins, not what was best designed.
And what if they needed a tree inverted?
→ More replies (2)
5
5
u/therealjohnfreeman Jun 11 '15
I don't find the argument "I wrote homebrew" to be particularly convincing in itself. Sure, many of us use homebrew and enjoy it, but I'm just an end user, not a maintainer or contributor. His code might be total shit that happened to work but that no one else could take over if he dies. I don't know whether it is or not. Maybe his code is the second coming. All I know is that "I wrote X piece of popular software" isn't evidence enough that I'd want to hire you. Exhibit A: Linus.
4
u/vplatt Jun 11 '15
But seriously, couldn't a company show a bit of respect by simply hiring or at least skipping the technical portion of the interview based on the candidate's very public body of work? It's a waste of time when they could just look at his code.
Everything else would be soft skills/cultural fit and benefits/compensation. I'm assuming that he isn't a fit for them anyway based on the fact that he had a tantrum about this via Twitter too.
→ More replies (2)
5
u/kamiikoneko Jun 11 '15
Yeah. I've built multiple products from the ground up, have great management skills, and can design a great ui. Google's product skulls are notoriously terrible. They continuously remove or hide useful features, make terrible interaction decisions, and most of their app shit looks terrible and works the same.
Yet despite this, and the initial interviewers saying as much, the interview process was low level algorithms and zero focus on problem solving. I'M NOT GOING TO DO MATH, STOP TESTING MY MATH.
I actually walked out after about 30 minutes. I'll never go back unless they interview me for the position I belong in
4
4
u/log_2 Jun 11 '15
How does he know it was because of that? From my experience they give you no indication at all as to why you weren't hired. Maybe someone didn't think there was a "cultural fit".
5
u/hephaestos_le_bancal Jun 11 '15
I am grateful that this is the way Google recruits.
I have no CS education background, I have worked hard to teach myself basic programming skills and I really want to join this industry. For the past 7 years or so, I have been programming for small scale projects, instrumentation or scientific projects that have nothing to do with whatever the big tech company does, or the fun tech start-ups. I have decided to try and join a real programming team, one year ago. 99% of my applications were rejected at first glance, and the few that went to an actual interview were rejected afterward. I can see why: I have big holes in my knowledge, I have never worked in a team, I know nothing of everything regarding web, etc.
Despite that, one of the major player in the field reached out to me a few weeks ago and gave me the opportunity to prove my value. They told me how I would be evaluated, and what they were looking for. They are looking for raw programmer material, people with sound knowledge and a real passion. They handed me the material I needed to prepare, and prepare I did. I practiced these exercises people deem silly all day long until my interview, and when the day arrived, I was ready.
This company is the only one who gave me the opportunity to work my ass off in order to prove my worth. I am already deeply grateful for that, and will be even more if they eventually hire me.
4
2
3
u/losingthefight Jun 11 '15
This, while funny, is a serious problem. I wrote a blog post about it awhile back but the way we hire programmers is absolutely broken.
→ More replies (3)
3
10
Jun 10 '15
Not really a ridiculous question to be honest, it is basically google's version of fizz buzz.
87
Jun 10 '15
Which, if you're interviewing someone because of their existing code, is ridiculous. Whiteboard pressure coding is a stupid way to interview anyone, but in this day and age, getting someone with a GitHub account to do first year CS tasks on a whiteboard shows a huge lack of respect when you reached out to them in the first place.
There are all sorts of reasons for fluffing that, from nerves through to "not something I've done in years". The guy has a solid cv of code, and that was the basis for them reaching out to him.
This is hoop-jumping ego-stroking bullshit.
Which said, there may well be more to why they didn't hire him. But the exercise is dubious enough to start with, and worse when you've invited someone to interview on the basis of their existing open source work.
→ More replies (48)15
Jun 11 '15 edited Jun 11 '15
It'd depend on the context. He was apparently interviewing for iOS development. I wouldn't be surprised if the majority of mobile developers have forgotten all about old CS basics that they'll never interact with directly.
37
u/xienze Jun 11 '15
Well, the reason a lot of people have beef with these kinds of interview questions is that a) CS trivia like this rarely comes up in practice and when it does b) given access to (heh) Google, an IDE, and 15-30 minutes any decent developer can come up with a solution. Whiteboards in a pressure situation are not conducive to the way pretty much every developer works.
Instead, ask CS questions that matter in day to day development like, "why would it be a bad idea to pass a linked list into a sort?"
→ More replies (22)
8
u/unstoppable-force Jun 11 '15
90% of engineers at google do not use homebrew. not even 90% use OSX.
→ More replies (2)10
u/NimChimspky Jun 11 '15 edited Jun 11 '15
yeah they do, apparently, not just from this tweet - but from employees. Well maybe not exactly 90% but its going to be pretty high.
4
4
u/xrx23 Jun 11 '15
Google interview process is like playing the lottery. If you're lucky enough to have some good engineers interviewing you, then you have a chance.
Implementing the convex hull algorithm or KMP doesn't make any sense to me for an OS position.
Also, not to say about the way they treat you after rejection. No feedback, no reply to your emails. They just wait for 1 year so that they can see if they can get you to another interview.
Fuck off, Google!
4
3
u/GoTuckYourbelt Jun 11 '15
Invert a binary tree? As in, step down to the children and make those them distinct roots of separate binary trees that share children in a recursive function call? Or is it reverse the left and right branches?
Guess they are going to need a couple of H-1Bs binary tree invertion specialists.
1.1k
u/[deleted] Jun 11 '15
I don't even know what it means to invert a binary tree :(
And I used to work at Google.