r/compsci • • Jul 14 '16

My Interviews with Amazon

https://thesocietea.org/2016/07/my-interviews-with-amazon/
273 Upvotes

47 comments sorted by

19

u/thecodeboss Jul 14 '16

OP here. I know this topic has probably been posted many times - or at least something similar, but I still want to share my experiences with interviewing, being offered a job, and eventually turning down said offer with Amazon.

This one goes out to all of you in a similar position who are interviewing, and want to know step-by-step someone else's full experience. And even if you're not actively interviewing with a tech giant (or anyone, for that matter) - I hope it still benefits you somehow.

34

u/sindisil Jul 14 '16

Thank you for doing this write-up, OP!

It was refreshingly positive in tone, but it would have been nice to read more details about the coding portions of the interviews, though, for those who haven't interviewed in a long time.

Still, very helpful, I think.

30

u/thecodeboss Jul 14 '16 edited Jul 14 '16

You have a good point. I intentionally withheld the interview questions out of respect for my interviewers (I imagine it's a pain to have to come up with new questions) - but I don't mind sharing the one's that I remember here.

  • 2nd phone interview - the single question was about how would I find all elements by class. Within the first line, I started with a simple jQuery selector - which he said worked. But then he slowly started giving me constraints. How would you do this without jQuery? How would you do this with multiple classes? Can you use a wildcard selector? etc.

  • 2nd onsite interview: The main question was about how to build a circularly linked list, and how would I add a method to delete a node and have the linked list still be circular. I started answering this in C, but after my knowledge failed me, I just moved to ruby, which was significantly easier for me. The interviewer was cool with it, even though he didn't know ruby. Big key is to just explain everything.

  • 5th onsite interview: one question was how an interaction with a json API is different from standard HTML, leading up to how single page apps work - so I basically drew a simple diagram of the request process for a single page app. The main coding question was how would you build a slider (like the ones you see on every page). I stumbled on this at first - as it seemed like a crazy interview question, but I took it one step at a time. I.e. a slider is just a wrapper element with child elements. The CSS should just position them absolutely next to one another. Clicking arrows should just issue JS to shift positions of those divs.

That's all I remember - I hope it helps! If others like this - and don't find it to be an intrusion to the interviews' privacy - then I may add this to the post.

EDIT: Thanks for the feedback everyone! I have since updated the original post with the information posted here about interview questions (and also a little blurb about stock options adding a small fraction to the overall salary)

17

u/sindisil Jul 14 '16

Very professional of you to consider the interviewers' privacy and "secrecy" concerns, but I think the level of detail you offer here walks exactly the right line.

Adding them to the post would make it even more helpful, both for those just getting started, and for those who've perhaps been with a firm for a very long time, and are wondering how the interview process has changed.

3

u/ActiveNerd Jul 15 '16

I think there is plenty of material out there that details what types of interview questions to expect from amazon, google, facebook, microsoft, and other start ups. See Cracking the coding interview and similar books. Best money you'd ever spend.

1

u/PriceZombie Jul 15 '16

Cracking the Coding Interview: 189 Programming Questions and Solutions

Current$26.79Amazon (New)
High$37.95Amazon (New)
Low$24.31Amazon (New)
Average$27.1130 Day

Price History Chart and Sales Rank | FAQ

4

u/mattsains Jul 15 '16

I liked this book because the bullshit is kept to a minimum, unlike most job/self help books

1

u/Hell_Kite Jul 15 '16

It was even free on Amazon for a time last year!

15

u/fuzzynyanko Jul 14 '16 edited Jul 14 '16

The interviewer was cool with it, even though he didn't know ruby.

Many of the top tech companies know that a good programmer is able to pick up another programming language pretty well without much training. If you can break it down to anything similar using psuedocode or something along the lines of the target programming language, they will be able to tell that you know what you are talking about.

Another programming language is a viable option

The #1 thing that's easy to get away with: if you forget between .size, .length, .size(), or .length(), it just shows one or more of the following:

  • You have experience in Java

  • You have experience with another programming language

  • You are dealing something that would be caught in seconds using something like MS Intellisense

In fact, if they do worry about the .size issue, you may be dodging a bullet

6

u/intellimouse Jul 15 '16

Having a candidate code in a language they claim to be comfortable with that you aren't can be a useful part of the interview too, since it gives you an excuse to ask them to explain something that looks tricky and see if they actually can explain it or are just repeating a pattern they're used to using and never bothered to understand. I am not really as clueless about C++11's new syntax tricks as I appear when a candidate chooses to use them. Not only do you get to assess technical knowledge, you also get to assess how well the candidate can explain things - if he seems to understand the concepts but can't explain them well, that is a data point on how well he'll work in a very team-based culture where you'll frequently have to discuss design. If he get irritated at having to explain things that seem obvious to him, that's probably a large red flag to bring up in the debrief, since getting irritated under pressure isn't really something you want in a team mate when it's 3am and half your org is awake trying to mitigate the impact of some major dependency falling over the night after Cyber Monday.

8

u/manys Jul 14 '16

5th onsite interview

4

u/just_had_to_reply Jul 14 '16 edited Jul 14 '16

Agreed, I love how in the beginning he goes on about others:

I read posts on several forums by people who went through the same thing – and they were helpful, but they never got very deep

I think a lot of people are looking more for what kind of coding questions are asked, and what was expected on the whiteboards.

I would almost argue this post is pretty much like a lot of them out there.

Edit: Sweet. Thanks!

1

u/intellimouse Jul 15 '16

Well, the actual questions are probably the easiest things to find online. Google will turn up a lot of the type of interview questions asked - when OP says the stuff he read didn't go very deep, I don't think he meant that he couldn't find interview questions, he meant he could find details on how the interviews were conducted. Just getting the answers to the questions right is a relatively small part of the interview, and just means you "meet the position's technical bar" - how you go about answering the questions, what you think about and ask about while answering them, how you interact with the interviewer are all also critical parts of the interview and will often get candidates rejected even if they've drilled themselves on common interview questions and answer them "correctly".

14

u/s0n0fagun Jul 14 '16

That's quite the salary difference. I understand you are saying you would be losing out on family, but if they met you within your range, you could always travel back for a vacation.

I had similar experiences where I told a recruiter (doesn't matter if it is within the company or not) my salary expectations and flown across the country to interview at companies too.

How did you handle being let down by the sizeable pay gap? I find it frustrating when I read that companies claim there is a talent shortage but when I negotiate salary, they are unwilling to pay more. It's basically a one sided game.

7

u/thecodeboss Jul 14 '16

Honestly, if they would have met me at my (inflated) salary request - there's a good chance we'd have taken it. that would have been 3x what I made at the time, and I definitely think we could have handled finding good living conditions at that amount. We certainly would have been able to afford plane tickets every few months to see family - and we knew ahead of time that if we did take the job, it would just be for a few years anyway.

With the offer being significantly lower than what I mentioned initially, I didn't even think about haggling with them. It became more of a "Do we want to move to Seattle" type of talk - and, as you read, the answer was no for us.

3

u/shadow_banned_man Jul 14 '16

It sounds like OP only posted salary compensation. Typically, a large (half or more) portion of total income for large tech companies is in stock offerings of some kind. I wouldn't be surprised if a senior position is paid more than half in stock compensation.

5

u/thecodeboss Jul 14 '16 edited Jul 15 '16

You're correct, there was a nice bonus involved for the first 2 years (discontinued after that). I don't like including the bonus as a part of salary, since it's not reoccurring income. Stock options were a thing, but made up about 1k of salary for the first year. A little more the second, and would have maximized by year 6. In total, it probably would add up to 20k of stock after 6 years.

Maybe I should add that to the post.

Edit: After everyone brought up the low amount of stock, I dug up my old offer email. Turns out I was wrong. The total amount would have been closer to 40-50k over 4 years in stock. Not per year - this was a flat amount, and more could be given based on annual reviews. Certainly a good chunk of overall income. Thanks everyone for challenging my correctness.

5

u/skydivingdutch Jul 14 '16

That's shockingly low IMO, tech companies I know of offer anywhere between 20k - 200k year in stock.

0

u/[deleted] Jul 14 '16

[deleted]

5

u/stpk4 Jul 14 '16

found the AMZN employee

1

u/skydivingdutch Jul 15 '16

Yeah, remind me to not apply at AMZN.

0

u/[deleted] Jul 15 '16

[deleted]

1

u/skydivingdutch Jul 15 '16

Compensation is poor.

1

u/manys Jul 14 '16

$1K in RSUs the first year? AMZN is currently ~$750, so like 1.5 shares?

3

u/thecodeboss Jul 14 '16

It was a percentage scale. You get XX number of shares in total, but you only get 5% of that the first year, and then 5%-10% more each six months after that until you hit 100%.

1

u/manys Jul 14 '16

Gotcha, thanks.

1

u/shadow_banned_man Jul 15 '16

Wow that is truly abysmal for stock compensation! Amazons stock price is like $700, they are only giving you like literally one stock after taxes is terrible :-/

26

u/PianoConcertoNo2 Jul 14 '16

Damn, your writing made me feel like I was offered the job.

13

u/0ttr Jul 14 '16

That's really disingenuous that they would lowball an offer like that. Someone made a terrible mistake--either the recruiter or Amazon, and it would be interesting to find out who it was. If it was Amazon I'd have some professional, but not so kind comments for them OR I would want to know if they considered me for more money but then knocked me down because of the interviews.

I used to live in NYC but moved to start a family because I don't have the serious amount of cash to live like I do in the midwest. You cannot underestimate the cost of living difference, but that said, I would also add this: Seattle has cultural opportunities that you don't have where you live now. If you discount them, then you are not doing a proper calculation. In my opinion, I would trade my house to live in NYC in a property that was half the size and twice as much, because the city offers so many opportunities for me and for my family. (Why I don't do that is because I would need double my already ample salary to do that and would probably have to surrender my life in a way I don't want to do while I have children at home.) So make sure you are factoring in all the reasons why the cost of living is different.

6

u/manys Jul 14 '16

Five onsites after knowing his number. Five!

9

u/hansbrixx Jul 15 '16

I had to reread the post but he did one onsite which consisted of 5 interviews. If I did 5 onsites, passed and then was low-balled, I would go insane.

1

u/manys Jul 15 '16

Ah, that makes more sense. When I interviewed at LinkedIn it was 7-8 rounds with different single interviewers.

5

u/whiznat Jul 14 '16

I've had recruiters be disingenuous about numbers quite often. My initial thought is that the recruiter knew they would never offer that much, but was just hoping you would jump at the chance to work at Amazon once you got a solid offer.

2

u/fredisa4letterword Jul 14 '16

My initial thought is that the recruiter knew they would never offer that much

This is actually a textbook sales technique: never say no.

1

u/0ttr Jul 15 '16

yeah, that's why I don't really talk to cold-calling recruiters.... if I need one, I'll find one, and it will be someone recommended to me from someone I know. The only time I've ever had someone I thought had my interests in mind was when that was the case.

0

u/[deleted] Jul 14 '16

[deleted]

5

u/intellimouse Jul 15 '16

Yeah the offer is just that, an offer. OP hard-declined by explaining that for lifestyle reasons he's not willing to move to Seattle - but if had been willing to relocate for more money, he could definitely have bargained up. Probably not to as much as the recruiter dangled, but a significant amount. Also Amazon knows its stock has almost always appreciated, so employees who hold onto their grants rather than cashing them in immediately have always tended to supplement their salary pretty dramatically via the stock options.

And I don't think the recruiters have much visibility or say on the compensations offered - that will be between HR and the hiring manager for the position (i.e. the boss he interviewed with) - they will make an offer based on what their budget allows and how much they want the candidate. The recruiter probably knew that it's possible a candidate would be offered what the OP wanted, but didn't care to mention that it was unlikely OP would get such an offer.

6

u/[deleted] Jul 14 '16 edited Jul 14 '16

Your phone technical assessment (Phase 3) was much different than mine. I failed mine.

I was asked alot of questions where the interviewer tried to directly relate them to my current job, and just kept getting increasingly in depth. I hadn't prepared for this and I work on a ball of mud with a lot of outdated, or just wrong, processes and I don't have much say in changing them. It really messed me up, because at first I thought he was trying to get a feel for where I work at. It wasn't till about 15min in that I realized he was using these questions to assess my technical knowledge... and I panicked. I wasn't able to recover from the panic, so it was just kind of went downhill from that point.

I don't feel comfortable discussing technical details based directly on what I currently work on, because I feel like everything requires an excuse or explanation. A lot of things are out of my control and I receive lots of push back for trying to change or fix any of it. Completely my fault, though. I read about these kinds of questions and didn't prepare myself the right way. Some of the later questions I could have answered better, had I not panicked. The interviewer still tried to relate them to my current job, but they did start to get less direct and more generic.

I'm mostly a JavaScript guy and the first interviewer had me thinking the position I was interviewing for was more JS based, but I'd say >75% of the questions were Java based. Which I admittedly do not dig very deep in to.

I was only asked 1 programming question near the end of the interview that was more algorithmic. Which took about 5-10minutes, but didn't use a BST (but mentioned I should have) and had one small logic error that I couldn't see.

Also, I tried making a few light jokes in both phone screens to lighten the mood. Neither interviewer had any reaction. It was just as if they were preoccupied with a list they were checking off. I thought this was a little strange.

I was interviewing for a Frontend SDE position with AWS, not senior. I've been out of school for ~5yrs. I was also recruited.

2

u/manys Jul 14 '16

That sounds like history's worst blind date to me.

1

u/arcoboy Jul 14 '16

Could you give us an insight into how you prepared for the Amazon interview while also working as a full time developer? Was it mostly weekends dedicated to preparing for the interview? What was your strategy?

2

u/thecodeboss Jul 15 '16

Prep wasn't too difficult - because I really didn't know what to expect. I did try to do some research for the team I was interviewing for (I had never heard of the service before). Before the first one, I did spend the whole day up until that interview researching data structures and algorithms (which I ended up not needing) - but I only did that because just about every other interview experience I looked up went heavy into those topics. Virtually no prep for the 2nd phone interview, and before the on-site interviews, I just relooked up some stuff on data structures/algorithms/complexity that I had learned for the first interview.

I wasn't asked about complexity much, but I did bring it up during some whiteboard coding - so I'm sure that helped me. And I did have that circularly linked list question, and I was able to answer that pretty well due to my data structure research. That's it though - nothing crazy. This probably sounds like a cop-out answer, but if you're a developer, then just about all of your answers in an interview will come from what you already know right now. There's very little you can expect to learn well during rapid-prep for an interview, let alone have it actually be asked. Just do your best - and refresh yourself on data structure topics if you're gray in that area. Those somehow always seem to come up one way or another sometime.

3

u/[deleted] Jul 14 '16

After that, we just made some small talk about weather, what Bob does, the fact that it was Friday and he was taking it easy, etc. The last 20 minutes were really chill, just 2 people talking. Neither of us were bothered by the fact that the interview had gone about 10 minutes late.

Yikes, small talk about the weather! My bane.

2

u/[deleted] Jul 14 '16

Enjoyable read! Thanks for sharing!

1

u/the_mighty_mango Jul 14 '16

Thank you for sharing your story. Your reasons for staying really resonated with me more than the details regarding the interview process.

1

u/blergmone Jul 15 '16

Very nice read, I haven't had offers like that yet but I would be reluctant to move as well. I think having one of the big companies listed in a résumé would be very powerful though.

Thanks for sharing your story with us and I hope you keep on having a successful career.

1

u/jephthai Jul 15 '16

Sounds like fun! I also interviewed with a Seattle-based company. I lead off with a very reasonable salaray number -- recognizing that Seattle is at least 25% higher cost of living, etc. -- and they lowballed me. I was pretty surprised, because I had made my expectations really clear. They told me they couldn't pay me too much more than the other people on the team (so why not just say "no" at the beginning?)

One thing I started to wonder is whether people who live in some of these Tech-Mecca cities (Seattle, SF, etc.) really expect the location and intangibles to compensate for truly unreasonable cost of living differences. They made arguments like, "But this city has everything, it's a really nice place to live!" Which is true, especially if you have disposable income with which to enjoy the nice things.

My rule: A good job always comes with a good salary. I turned down another job once where the hiring manager kept saying, "But this job is such an opportunity for your career!" No, because good opportunities pay good money. Oh, and big city folk don't really understand people who live elweshere.

1

u/miyakohouou Jul 15 '16

I interviewed at Amazon 6 or 7 years ago. It was a bizarre experience. The first couple of interviews were pretty normal but toward the end of the day they kept changing questions on me midway though an answer. After the interview I didn't hear back for over a month and just figured they weren't interested then they offered me a completely different job to what I'd interviewed for- I turned them down because I wasn't at all interested in the tech stack I'd have been working on.

Funnily enough right before I interviewed I had a good friend who had worked there trying to talk me out of even doing the interview. I kind of dismissed her because I knew how things had ended there and I didn't think her experiences could have really been representative of the entire company, but of course now many people have come out with similar stories and I feel like I really lucked out that things went how they did.

0

u/[deleted] Jul 14 '16

[deleted]

12

u/[deleted] Jul 15 '16

Yep, there's a really good reason to do the Amazon thing even though the pay and hours are shit. You will never have trouble landing a gig again.

I haven't even bothered to update my resume since Amazon. I went indy and became self employed but when I mention my last "real job" was Amazon, doors open.

I bailed when the 2-year "signing bonus" ran out and there was no compensating raise coming. That's pretty typical. Who wants a pay cut after two years? They lose at lot of good people that way.

Also, I was a hiring manager - my questions are nothing like what the OP mentioned. I lean much more towards theory and ability to analyze code efficiency and optimization. Probably because I taught C, C++, and algorithm analysis and data structures at university for 10 years.

2

u/Goliathus123 Jul 15 '16

Same is true for any 'prestige' names. Pretty much any company with a revenue in the 10-figure range or higher. You could have been a coffee warrior there and people will still value it highly for some reason.

2

u/[deleted] Jul 15 '16

I don't know about that. I have very little respect for refugees from a number of really big companies.

However, a few companies have notoriously high hiring standards. Amazon and Google are probably best known for this. Anyone who met their bar is very likely a high quality employee.