Live data from Hacker News

Ask HN: How do I prepare for an interview for AMZ/GOOG/APL/FB?

news.ycombinator.com

31–40 of 69 posts

Re: Ask HN: How do I prepare for an interview for AMZ/GOOG/APL/FB?

#31

The same way you prepare for any job for a single specific company. Read everything the company has published so you can convince them you buy into whatever their vision is. Don't propose any ideas or theories or preferences for anything that deviates from it. Learn their every product and how they all work and discuss the details in the interview so they know you "get it" and are already familiar with everything. As…

Id also read the last annual report and any interims and also read anything about the companies and their competitors in the broadsheet newspaper you prefer - you do of course read a broadsheet newspaper?

[deleted]

Re: Ask HN: How do I prepare for an interview for AMZ/GOOG/APL/FB?

#32
The Facebook interview process was a bit of a joke. Writing code without being able to evaluate and test it is for people just out of school, but that's what they gave for an editor (which didn't have emacs keybindings either IIRC, just some generic code sharing site). Sometimes people with experience do things differently and have learned to USE the computer and not do everything in their heads. Age and skillism to the extreme. I suspect they just want coder drones.

Re: Ask HN: How do I prepare for an interview for AMZ/GOOG/APL/FB?

#33
A couple of years ago I was in your position.

I went through the whole process with Google and Amazon, just to get rejected at the end. I prepared by cramming Cracking the code interview in 2 weeks and reading classic algorithms books; it wasn't enough to meet the bar (anecdotally I remember Google being much harder than Amazon).

Fast forward another couple of years and I got contacted by Microsoft and Amazon recruiters, went through and got offers from both companies. Recently I also got approached by a Google recruiter but I politely declined since I recently started a new position.

What changed in those couple of years?

This time around I prepared by solving problems in leetcode and other platforms a longer time. For about 2 months I spent almost all my free time writing code out of the office.

But that's only half of the story. I noticed that as you apply to more senior roles, the interviews focus more on behaviour and experience rather than hardcore programming. I would say that the weight of these factors was between 2x and 2.5x this time around.

Finally, I myself changed during that time. I adopted an 'abundance mindset', where opportunities are plentiful instead of single chances that we can't let get away. Now I see interviews as two way streets where companies need you as much as you need them. Lastly, when I go to an interview I don't see it as 'I practiced x days for this interview', but as 'I have 10 years professional experience, if that didn't prepared me for this job, no amount of cramming in a few days will'. That doesn't even touch the

So my advice is to just relax, do your best and don't get discourage if you are rejected. If your goal is to break in one of the big 4, continue accruing experience and improving yourself and try next time, it will just get better.

P.S.: In my comment I don't mention luck, but personally I think that it also plays a huge role in getting a job. One time recruiters from a company got in touch with me; two years later they wouldn't even read my CV for the same position. Get to the right position at the right time, and the right set of people can be the difference between an offer or none. It's hard to come to terms with the idea than something other than yourself can dictate your future, but the sooner you do it, it will save you a lot of grief.

Re: Ask HN: How do I prepare for an interview for AMZ/GOOG/APL/FB?

#34
post #32

The Facebook interview process was a bit of a joke. Writing code without being able to evaluate and test it is for people just out of school, but that's what they gave for an editor (which didn't have emacs keybindings either IIRC, just some generic code sharing site). Sometimes people with experience do things differently and have learned to USE the computer and not do everything in their heads. Age and skillism to…

The horror of no emacs key bindings.

Re: Ask HN: How do I prepare for an interview for AMZ/GOOG/APL/FB?

#35
I've worked at Microsoft, Adobe, and Twitter over the past few years. I've also received offers from (or interviewed with) Google, FB, Dropbox, Uber, etc. I would recommend:

https://www.pramp.com - 1 hr online interviews where you interview someone and they interview you back. Go through ~20 of these to get really comfortable solving problems while talking through them. They also give you the optimal solution at the end. This will prepare you really well for the initial technical phone screenings.

https://leetcode.com/ - collection of 700+ interview coding challenges. You should be able to solve any random medium difficulty question within 15 minutes if you want a shot at the companies you listed. Keep doing a couple of these per day till you get really good.

"Elements of Programming Interviews" or "Cracking the Coding Interview" - Read through either one of these to get an overview of the interview process and what companies expect.

Polish your resume - This is only important to get the interview. Once you are interviewing onsite the resume doesn't matter much. Here is mine to give you an example. http://joshcockrell.com/joshua_cockrell_resume.pdf Feel free to send me yours if you want some feedback.

Re: Ask HN: How do I prepare for an interview for AMZ/GOOG/APL/FB?

#36
Prepping for these interviews is much like studying for the SATs - it's not about measuring how smart / talented you are, but how good you are at taking these tests. I say this as a primer only because rejection sucks, but knowing that it's not a dig on you personally, that it's more of a numbers game, can help you stay positive through this whole process.

I've heard a lot of success with this method:

1. Start with https://www.firecode.io/ - it's a gentler intro than most of these resources.

2. Once you can manage FireCode, move onto LeetCode as others have suggested. More specifically, the ones that have been flagged as interview problems. If you can get through the Hard ones in 30-45 min, you're good.

3. Once you feel confident in steps 1 and 2, use https://interviewing.io to take a bunch of mock interviews. The interviewers are generally from these companies, so if you do well, you'll automatically skip the phone interview and land right in the main interview space. And if you don't, no worries, you're getting practice in an interview setting, and not just in answering problems.

3b. As a supplement to #3, Google and Facebook actually hold info sessions on their interview process. My friends used those and landed at both places, respectively. They both said the info sessions were pivotal for them.

The average time my friends spent on this process was roughly 90 hours total. So if you worked on this full time for 2+ weeks, you should be prepared, or 2-3 months if you did a little bit every night while working your current job.

Best of luck!

Re: Ask HN: How do I prepare for an interview for AMZ/GOOG/APL/FB?

#38
Focusing on a limited set of resources in a way that exercises your problem-solving skills would be the key. Here is one plan:

1) Select a category such as "stacks and queues" from the Cracking coding interview (CCI) book and read all the questions. This will give you a sense of the type of questions being asked.

2) Sign up for the algorithms 1 and 2 courses (https://www.coursera.org/learn/algorithms-part1, https://www.coursera.org/learn/algorithms-part2) in the audit mode(free). Pick the correct modules such as "stacks" and "queues" and watch all the videos.

3) Come back to the questions in the book CCI and try to solve the problems yourself. If you get stuck, look at the solutions for hints but still try to do them yourself.

4) Do the same for all major topics such as strings, linked lists, recursion etc.

Unfortunately, you are not going to remember all of you've learned. You need spaced-repetition so repeat the above method 2-3 times for each topic.

Once you have the foundation, you will be able to tackle the harder questions that you may find somewhere else or in the interview.

Re: Ask HN: How do I prepare for an interview for AMZ/GOOG/APL/FB?

#39

Prepping for these interviews is much like studying for the SATs - it's not about measuring how smart / talented you are, but how good you are at taking these tests. I say this as a primer only because rejection sucks, but knowing that it's not a dig on you personally, that it's more of a numbers game, can help you stay positive through this whole process. I've heard a lot of success with this method: 1. Start with h…

Thanks this is great advice! > The average time my friends spent on this process was roughly 90 hours total

That seems much shorter than I had expected, considering there's so many questions on Leetcode. Do you recommend focussing only on the marked interview questions on LeetCode or start at the beginning and work my way up to the hardest?

Re: Ask HN: How do I prepare for an interview for AMZ/GOOG/APL/FB?

#40

I've worked at Microsoft, Adobe, and Twitter over the past few years. I've also received offers from (or interviewed with) Google, FB, Dropbox, Uber, etc. I would recommend: https://www.pramp.com - 1 hr online interviews where you interview someone and they interview you back. Go through ~20 of these to get really comfortable solving problems while talking through them. They also give you the optimal solution at the…

This sounds like a great advice!

Any specific tips on getting the most out of Leetcode?

For example. Should I do the questions on paper first, then the editor? Should I have multiple solutions to each (n2 and nlogn) if it exists?

How do you guard against just memorizing the questions? I feel like if i can't do a problem and look at the solution, then going back to it later will be useless since I already have memorized the answer but not the methodology to solve it.

Thanks!

Post reply on HN