294 points · by scalar-moose · 7y ago · 111 comments
Context: - Dev with 10+ years of experience - Last 2 years in an architect role with technical leadership responsibilities - Planning to apply for senior roles at FAANMG
Question: I am fairly good at solving system design and scenario based questions, but I am confused about what resources to use to prepare for whiteboard/programming questions (not 100% sure if these are relevant at senior level?). Below is the list of resources I was suggested:
1. Cracking the Coding Interview 2. Elements of Programming Interviews 3. Online Judge - LeetCode, HackerRank etc.
I have used cracking the coding interview for my interviews right out of school, but I was told that it is not relevant anymore and I should focus on Elements of Programing Interviews.
Same with Online Judge, I was told to use an online judge (LeetCode, HackerRank) over books.
Other companies will treat you as more of a human, and less as a cog. In my current job, I asked to see production code when interviewing. I flipped over every stone I could, to know what I was getting into. I saw the good and the bad. FANGs? You must prove yourself to gatekeepers before even knowing if there are teams with personalities you will agree with. You have no guarantee there's something on the other side of the gatekeepers, that you're even remotely interested in.
Money is important, but for a small haircut you can have better WLB, less competitive peers (though still be growing in your career: you can challenge yourself, without being surrounded by hyper-competitive personality types), amazing culture, and a greater level of transparency.
> There are companies that will pay near FANG levels (maybe 10-15% haircut) without subjecting yourself to onerous completion of hundreds of LeetCode problems.
Some even pay more. I wouldn't say FAANG companies even have the highest pay - a lot of the top-tier unicorns are in the same ballpark range.
> FANGs? You must prove yourself to gatekeepers before even knowing if there are teams with personalities you will agree with.
This is not universally true. From experience, while Google does this for their HQ, they don't for remote offices (where there's more risk you can't find the right personalities). Amazon's Principal Engineer interview loop is conducted by the targeted team. (I actually think this is true for other levels as well).
> Money is important, but for a small haircut you can have better WLB, less competitive peers
Might I ask what companies fit this profile? It seems like a rare find for any company to both pay a lot but not be competitive.
This is not true. Google interview experience is identical everywhere. Source: spent 6+ years at Google, not in HQ.
You have a couple things mixed in here, some of which ring true to me and others very false. The true ones are the stuff about the interview process. I think a day of whiteboard programming is a poor way to assess experienced candidates. It does make you feel like a cog. (I also don't really know how to design an alternative process that doesn't increase the level of bias.) But most of your stuff about what it's like after you accept an offer rings very false. I haven't worked anyplace with better work life balance (and relatedly, really good family leave benefits) or more opportunities for challenging work and career growth. I don't find it hyper competitive (but I'm never sure how much this is a function of where I'm located or what I work on). You're right about transparency though. Having a full view of what's going on at my company is something I miss from previous jobs.
I work at a small B2B SAAS company. We bill an implementation fee, an ongoing licensing cost, and costs per feature. If I create a new feature for a customer whether it’s a one off integration or something that will be in the product, everyone from the CEO to the customer knows how much value I personally bring to the company. That doesn’t scale and can’t work in a larger company.
It would be interesting to see where that fits in a FANG context
In government terms the closest thing I’m familiar with is the assistant US attorney chart which does extend reasonably far without needing to hit the supervisory level.
Responsibility wise GS-15 looks to be around L5 based on how many engineers have achieved it (I assume those earning $140k+ are GS-15):
https://www.federalpay.org/employees/occupations/computer-sc...
https://www.federalpay.org/employees/occupations/general-eng...
Whereas in some other, smaller companies there are perhaps one or two ICs at that pay level, they have been at the company for a decade, and hold all the tribal knowledge. No one ever gets hired into that type of position.
Once you're at level at one of the heavies, it feels like people move at level, too.
No one. I hate ppl here asserting that they landed FAANG like comps without leetcoding.
OpenAI is paying way more than 420K for ICs [1].
[1] https://www.nytimes.com/2018/04/19/technology/artificial-int...
They have a good amount of process to them, but not too much. Silos aren't fortified. There's less direction, but more personal ownership. For someone like me, who doesn't have the most polished communication skills (but is technically proficient), I'm in a position where I can make an impact -- whereas at FANG-type companies, I'd just get ignored because there were too many cooks in the kitchen; too many A-type personalities.
At these slightly smaller places, you have a better chance of getting a seat at the table, and you have more opportunity to contribute to projects that play to your strengths.
Could you provide some examples of questions you ask (or perhaps point to similar types of questions)?
I don't agree with this statement that companies outside of FANGs don't do Leetcode interviews.
Leetcode disease has spread to almost all corners of the industry. everyone everywhere is doing leetcode interviews.
> without subjecting yourself to onerous completion of hundreds of LeetCode problems.
Sorry but this is bad advice.
>we use recursion and trees
ok but doesn't everyone though?
One more option is to do freelance though, that's somehow a mix of both worlds.
is this a theme that isn't uncommon in the industry ? I felt that way forever but I didn't want to make impatient conclusions.
What you need to differentiate yourself is to learn the undocumented dark arts for whiteboard interviews that the FAANMG are really looking for in a technical interview.
Firstly, [0] explains where these data structures are used in Computer Science and should be a start on implementing them and understanding their complexities and use-cases. The rest from [1 - 4] goes straight into the advanced details of areas like competitive-programming which will give you explanations and clever solutions which are better than the typical DS and algorithm answers that even the interviewers will suggest.
Some of these resources might even give a walkthrough of a proof of these complexities if you really need to convince the interviewer who wants to rigorously test your understanding.
[0] - https://cstheory.stackexchange.com/questions/19759/core-algo...
[1] - http://courses.csail.mit.edu/6.851/
[2] - http://jeffe.cs.illinois.edu/teaching/algorithms/
[3] - http://cp-algorithms.com/
[4] - https://concatenative.org/wiki/view/Exotic%20Data%20Structur...
If you really don't know where to start, you can search and pick a specific topic here to study it in depth: https://github.com/jwasham/coding-interview-university
Personally, If I were preparing for a FAANMG interview, I would contribute to widely known open-source projects that utilise these concepts such as compilers like LLVM, Rust or V8 and operating systems.
Source: interviewed with 3 FANGs a few months ago without any significant open-source contributions, got L6 or equivalent offers from all 3. I also don't have a CS degree, for anyone who would feel discouraged by that.
Edit: I don't want to minimize the effort involved, though—I did spend a lot of time learning algorithms and data structures over the years, but I enjoy learning this stuff and find it far more relevant in practice than most people here appear to think.
The hiring bar at these places is pretty astronomical. Realistically it’s going to be well out of reach for a majority of even the very best programmers in the world.
where can one (I) test to find his position on it ?
How many years have you been working in SW industry ?
I've done 200+ problems on leetcode, all of ctci, and lots more. Hundreds of hours of prep over the last 5 years. Never received an offer from FAANG after 10+ on-sites with them. Know others with similar experience. People I know who get offers are even more aggressive with prep but also get lucky. (As they sometimes get rejected even when they've received an offer from the company before...)
Generally, if you can finish any random medium difficulty leetcode question in 30 minutes, you are at the algo bar. But there's still systems, behavioral, communication, etc.
It’s nice to glamourize it a bit but you guys make it sound downright mythical.
In my case I find prepping really dry and like to work on personal projects and veer off to different technical things that I am curious in.
When I try to solve problems I hate to look at answers and I spend a lot of time sometimes days trying to solve it. What is your approach to solve problems?
Could you please elaborate on how you prepared to a person like me who is aspiring to take a FAANG interview?
Looking at the content it seems like I will have to basically jump through all the hoops that are required for a new grad interview.
I've been in a senior role for 5 years and I somewhat recently interviewed at Google for an SRE/SW position with basically no prep (did maybe two practice exercises) and passed it no problem. I turned them down for a variety of reasons, but if I were to interview again I might even spend less time practicing.
It's true, however, that at some companies, performance impacts leveling and compensation, so there's surely value in being (possibly even over-) prepared.
For example, as an interviewer I often ask computer architecture/operating system questions as that’s what someone coming in, slotted into my team, needs.
In general, a lot of coding questions tend to be pattern matching and how fast you recognize the algorithm/data structure required to solve it. Before going in as a candidate, I did 50-60 leetcode puzzles and a bit of Elements of Programming Interviews. I also interviewed at many places for FAANMG readiness.
All said and done, the biggest factor in interviews is luck - from getting a good interviewer to getting a problem that you can easily identify/enjoy solving. All the preparation stuff is just to hone your skills. More you’ve seen going in, the better.
Best of luck!
Also, "completing" one problem in the context of the above does not mean being able to solve it the first time without checking the solution. It means possibly struggling with the problem for 20 minutes, checking the answer, and making sure you can do it the next day without looking at the answer. YMMV.
Thanks for saying this. I tried leetcode last time I was looking for work and was thoroughly discouraged. This approach makes a lot of sense for someone who's been coding for a long time.
If you do those and cracking the coding interview you should be good to go.
- You have built and can continue to build real software. You should know how to code fluidly in at least one language, as well as idioms and pitfalls. I don't think this is something you can cram for - you build up from experience.
- Able to describe performance or other tradeoffs. This can be in system architecture down to data structures and small optimizations. If you are rusty on algorithms, this can be studied for.
- Be able to do large-scale systems design from a fairly ambiguous problem statement. Sounds like you've had this experience.
- Potentially do a deep dive in a technical specialty of yours (ML, compilers, databases, etc.).
[Note: I haven't been at Google for over a year so this may be rusty, but did interview lots of candidates while there.]
I wonder how many people are missed in interviews who would make a big contribution to an employer but are lost in the interview process. Often skills needed for shipping quality applications are likely not visible if people only focus on raw programming ability. Maybe it's simply too hard to identify in interview form so everyone just looks at how you write code.
On regular basis I am faced with challenging technical problems related to things that I haven't done before and then with careful research, planning and execution I solve them and our product is going forward and the company is growing so I assume we are doing the correct things most of the time.
And then when I hear from friends stories from their interviews I really get scared that if I apply today I would fail...
As to resources - as many have said earlier - leetcode.com this is basically the place to go for problems to practice and there is also really great community. When practicing problems and analyzing answers in the beginning you will find what kind of topics are important and from there you can find more details in the textbooks (it's worth doing that). There is some good content also on Youtube but not all of it is good (despite high number of views and positive comments).
I have gone through some interviews where it is really grueling and mentally taxing. What do you suggest to improve endurance especially mental. It becomes very hard to concentrate on coding after almost 4 hours of interviews.
Whiteboard sessions focused on algorithms and data structures will probably resemble CS20X college courses.
It helped me figure out a template that I was able to apply for almost all system design interview questions - how to think, how to break-down the problem, what all I should consider, how to stay focused on the complete system instead of accidentally going down a specific component and such.