I'm preparing for interviews and even if I do at the rate of 75 questions per month, Leetcode adds a significant number of questions by the end of few months. I always feel like I still have a lot to do before I'm ready for interviews.
Any advice on how to prioritize questions?
- If you are going question by question and expecting sone magic then may be you are not for google/ fb. There us lot more which is expected apart from leetcode depending on experience.
- Twitter thesunriseNot everyone can get into Google just because they try hard. You do actually need to be born smart. I feel like everyone and their grandma thinks they can become a software engineer these days. There is something called inherent ability and intelligence. Some people were born dumber than others, no amount of leetcoding will help with that. Google wants naturally smart people, they don’t want people who are able to game the system using leetcode, so they keep trying to come up with new questions.Apr 29, 20183
- Amazon rustHad an interview recently at Google. Had one question from Leetcode (medium, also available on myriad other sites). Rest all were unknown and I had a lot of fun solving them. I think the best preparation is to get really thorough with DS and Algo, and pay a lot of attention to DP and Graphs, and a little bit to discrete math.
- Quality over quantity. Also don't waste time on Hard problems. Cracking the coding interview plus maybe 100 leetcode questions is enough usually. I did that (pretty sure less than 100).
- Sure but it's so rare that it's not worth optimizing for. Mediums should get you enough practice to at least approach the hard problem. Spending 10 hrs doing 5 hard problems is less effective than spending 10 hrs doing 15 mediums. And we usually have a very limited time budget for this kind of stuff.May 1, 20181
This comment was deleted by original commenter.
- Google sjdI have to come up or adopt new interview questions 4 times in the last 12 months because new questions were always posted on leetcode by someone and then got banned. People should respect the NDA! I think leetcode has its value and 100 to 150 sample problems should be enough for people to get familiar with the process, data structure and algorithms. Posting or practicing every latest interview problem from every major tech company seems unnecessary and a waste of time to me.
- You don't need to do all of them. I only did like 50 and passed all the companies I interviewed at.
- Just google from FANG since Facebook had no openings in seattle that looked like a good match, netflix does not have a seattle office AFAIK and I already worked at amazon.
I fully did about 30. After that, I probably have like 20 more mostly done but I just never bothered to pass every stupid corner case. Did a few more in my head and would read through the explanations to make sure I had the optimal algorithm.
Oh, and most of the questions I did were easy/medium, only a few hard.
- I interviewed for a few top companies after doing about 20 questions in one week to practice and got in to a few (failed some too), sounds like you're exaggerating with your prep. 75 in one month should be way more than enough if you have the basic skills.
- You must be very smart to solve problems on the fly then. 20 wouldn’t cover most topics imo. People find it difficult to clear FANG even after solving 200-300 questions. How many yoe do you have? Any tips you can give on smart preparation? I can PM you if you’d like to share.
- It's not that I'm especially smart, it's that I finished a Bachelor's and Master's in Computer Science, so I got the fundamentals down pretty deep. The practice was mostly for coding algorithms correctly (e.g not being off by one or miss edge cases)
I had about five yoe when I got into FB, but I don't think the experience helped much with the code interviews, as I hardly used Algorithms at work.May 2, 20180