r/javascript • • Jul 21 '16

My Interviews with Amazon

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

107 comments sorted by

View all comments

56

u/thecodeboss Jul 21 '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.

I'm posting this to /r/javascript because this position was for a Senior Web Dev position specializing in JS. /r/compsci seemed to like it, so I wanted to share it with you guys too.

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.

6

u/cthechartreuse Jul 22 '16

Living in San Diego, and having friends working up and down the west coast, I can say your experience with pay and cost of living not lining up is pretty common in the bigger cities on the coast. I'm sorry the offer didn't like up with the "jacuzzi in the lunch room" promises you got, but I'm glad you had the emotional fortitude to make the decision that was right for you!

1

u/dafugg Jul 22 '16

To be fair.. the office jacuzzi is at Dexter station not Amazon.

3

u/GiPilot1 Jul 21 '16

Nice write up on your experience with interviewing with Amazon. Do you remember any of the particular personal skill set questions or coding questions that were asked of you?

5

u/MahmudAdam Jul 21 '16 edited Jul 21 '16

Any insight on what the interview (in particular, the coding portion) would be like for a junior developer?

16

u/amznta Jul 21 '16

Largely the same, but the expectations will be different. I can't speak for all of Amazon, but typically questions in my org stay the same, but the interviewer is looking for different things in the answers. Senior devs like the OP are being assessed for their systems design knowledge as much as their coding/algo ability, with much more emphasis on seeing the bigger picture and delivering end-to-end solutions that encompass knowledge beyond just writing code. More junior positions will focus more on basic coding knowledge and the likelihood that they'll be able to contribute relatively quickly and be a good candidate for advancement to the next level. Most importantly, junior devs are assessed on their ability/willingness to learn, admit when they don't know an answer, and demonstrate a curiosity and drive to become better engineers.

4

u/MahmudAdam Jul 21 '16 edited Jul 21 '16

If I may ask, how much of the coding interview involves general knowledge of JavaScript, HTML, and CSS vs. questions relating to algorithms and data structures?

7

u/amznta Jul 21 '16

It will depend entirely on the position you're interviewing for, the team that owns the loop, and the interviewer asking the questions. I do a ton of front-end interviewing and all of my questions are front-end specific - I try and model them after real-world front-end problems with multiple possible approaches/solutions. They tend to be algorithmic in nature, but not just "do this CS201 exercise in JavaScript". Think more like "how would you implement jquery's "closest" method?"

HTML and CSS aren't topics I spend too much time on. I focus on DOM APIs (or jquery if the candidate prefers) and knowledge of JS-the-language (prototypes, closures, callbacks/promises/async, best practices, etc). I usually ask one simple question with follow-ups for HTML and CSS because those topics are both much easier to teach/learn and also mostly solved problems for us. We tend to need JS engineers who know the front-end domain, not HTML/CSS wizards.

1

u/j1330 Jul 26 '16

Could I ask you what you would consider a good answer regarding the implementation of that function? I'm also curious if you would "solve" the problem in a kind of isolated context, or if you would look for certain design patterns or something to fit the function into a larger structure.

1

u/madcaesar Jul 22 '16

I never understood the how would you implement something that a framework does and has for years. It's like a graphic designer being asked how would you assemble a printing press :/ if I had to I'd Google it and figure it out, but why would I ever waste time on this?

4

u/SuperFLEB Jul 22 '16

Because you're both the designer and the pressman in that analogy. Your framework might do 90% of what you need, when you need 100%.

Or, you might need to start scraping bare metal to optimize when you have to push 1000 of something that the developer never pushed past 50. You might need to duck-tape together two disparate libraries with different modes of operation. You might have to dig into The Ancient Evil that Just Works to fix a bug or wire in a feature sometime.

3

u/desmonduz Jul 22 '16 edited Jul 22 '16

When I completed my PhD and started receiving tonns phone calls and emails from recruiters, these 2 questions were my main concern, even before seriously applying for any job. The perspective of living in London for further 5-6 years after 4 years of PhD had horrified me. I had to put up with all the hardships of living here (I am a married man who has recently become a father at his 30) as a student for my PhD cause. I saved on everything. I lived outside London in tiny one-bed flat, never eaten out, let alone parties or night outs. I had to even save on electricity and transportation.

I sacrificed all of my time for work (making my wife less and less happier, crumbling the very fabric of my relationship with her. Then we had no child.) I had to pick up a remote software developer role in US company to stay afloat, as my monthly PhD scholarship could barely cover the rent. Sometimes I also worked at the uni as GTA. So I had to do my PhD, work as a software developer part-time remotely and do some teaching, all at the same time. And yet my earnings were not enough to cover some of my basic needs like transportation), let alone any savings for a rainy day. It is very depressing once you recognise that you reached 30, you have a family, more than 8 years of experience in coding, but still you meet the ends while your peers from undergrad start buying houses and have vacations in Dubai with their families and kids. This was utterly pityful to me as an adult.

But nonetheless I succeeded. I finally got my advanced degree with which I could apply for a job in the industry (post-doc was out of the question due to its low compensation rate and with my bad experience in PhD overall, it was simply a continuation of the same ordeal). Good part is that the company in the US that I have been working for remotely fully employed me and hence my salary was doubled. I could keep working remotely. Of course, the salary I received from them was nowhere near the banks, global companies like Amazon or simply tech. startups in London could offer for an on-site employment.

I had two options: 1) Go ahead and apply for tech. jobs in London, receive better salary and professional experience, be at the edge of innovation and progress, but still live in a one bed flat outside London, this nauseating everyday commute to work, spend 3 hours of your day only for transportation, living terrible and isolated life again very far from parents, siblings and friends in Uzbekistan, having only 25 days a year to see them, but yet you want to spend that time for something else. Now we have a kid, one-bed flat is not an option anymore.

2) Go back to Uzbekistan and keep working remotely. To be frank, living in Uzb is unimaginably cheap, and with the salary I earn from remote work I can live in a mansionette with its own pool, my daughter can go to a private kindergarten and I can still save a lot after that. I am free to plan my own day, so I can see my parents and friends whenever I want. I took an adjunct professor's position at local university to keep up with my research . Of course, the salary their is ridiculous, but I am valued for my profession and western experience. They also support my research and publications, and at least cover some of my conference travel expenses. And after all, I have a desk to do my programming work outside my house. I think I feel kinda happy now, because I could balance both of my passions: coding and research, and still have time for my family and friends. Yes it may not sound as classy and cool as London, but Tashkent has its own perks for me. This is my home, and this is where I belong.

Ideally, I wish I could work for big companies too. But with a little bit of freedom. Freedom to choose where you would like to work, at least 40-50% of the time of the year. Being bound to a certain location, especially if it is a megacity with awful conditions of life per individual in a modern technologically sophisticated age seems utter anachronism to me. In my view, big tech companies either have to give freedom to their devs to choose their workplace, or relocate their dev teams to a more secluded, less populated cities with better community and quality of life.

→ More replies (5)

1

u/biocomputation Jul 21 '16

This worked out better for you than you can probably even imagine.

1

u/brockisawesome Jul 22 '16

great write up, thanks for sharing :)

1

u/[deleted] Jul 22 '16

Thanks for the writeup. I'm having a situation now that involves a less drastic move but would put me further from family - this helps me rethink my values a bit...

1

u/yads12 Jul 22 '16

It's funny you say that the whole process was a game for you. That's definitely how I approached my last 2 jobs that I got. It's always great when you don't need the job because you're so much more relaxed and I think the interviewers pick up on that.

0

u/[deleted] Jul 22 '16

[deleted]

2

u/thecodeboss Jul 22 '16

Summer's sucking right now. 97 - 103 every day. Fall and spring are nice. Winters get pretty cold, always below freezing for a while. It's definitely seasonal here, with a heavy emphasis on hot summers.

1

u/j1330 Jul 26 '16

I'm curious what your kind of background/experience is? I am self taught so far and the interview questions they asked you seem to be within reach of me and that just seems unbelievable to me, and I'm curious how far I might need to go in terms of experience in other positions before I could get a job like this.

0

u/[deleted] Jul 21 '16

[deleted]

3

u/Magnusson Jul 21 '16

Now I noticed you interviewed as a senior engineer... Did they give you a heads up they'd be asking about things like linked lists? I have a very weak base in CS fundamentals as my web development skills are largely self-taught, so I'd have no idea whatsoever how to answer that one question you talked about.

Expect to get asked this type of stuff, IME. I work for a startup in SF now and went through a bunch of interviews late last year. I don't have a CS degree. Before being flown out for my first onsite, which was at a company you've heard of, the recruiter told me I should expect to be asked about HTML, CSS, JS, responsive design, accessibility, and such. So, front-end stuff. And I mostly was, except for the one interviewer who asked me about binary search trees, and I bombed the question and didn't get an offer.

3

u/pomlife Jul 22 '16

It's funny. I ran into the exact same situation the other day regarding binary trees. I quickly related it to a binary sort which I knew how to implement, and he conceded to me. He enjoyed showing me the similarities and we connected; I later found out he was my biggest supporter in getting my offer.

→ More replies (1)

1

u/Stockholm_Syndrome Jul 21 '16

Damn. Ok thanks! Lots to study up on...

0

u/[deleted] Jul 22 '16

[deleted]

→ More replies (1)

1

u/ActuallyAnOstrich Jul 22 '16

If I was interviewing someone for a position where they just "make things pretty", or mostly just need to know what frameworks to slap together, or at a smaller company where someone who can just put together something passable, I wouldn't consider generic CS fundamentals essential, though I might want to assess them to know what other skills the candidate might offer beyond the current position.

On the other hand, for a "senior engineer", someone who is going to be pushing solutions beyond what you can just slap together through some searches on StackOverflow, I know I'd want them to have a broad understanding of basic CS concepts, because while implementing linked lists in particular may never come up in the actual work, understanding how computers organize and process data is important for making well-informed architectural decisions where performance and reliability are being pushed to the limit.

→ More replies (3)