Hey Y'alls, Studying for my upcoming Google onsite and FB screen. Grinding Leetcode, it's going well. I just took 35 minutes to solve a hard, and 20 of that was getting bogged down in an uglyass brute force before I realized I just needed to keep track of the max to the left and the max to the right of each element. Once I had that insight, only took me like 10 minutes to code it up. So, long story short, Leetcode is making me better and also making me feel a lot more confident with my interviews coming up in a couple weeks. Here's the main question, which lists are better: (1) the ones that say Top Google or FB Questions or (2) the questions tagged by company and sorted by frequency? I've been doing the former so far, and should have time to get through all of them before the interview dates. Thanks so much, I appreciate any and all advice!
It all depend on what you want, most frequent ones are good to learn common techniques and approaches while recent company-tagged problems are most likely to be in your loop.
Aren't those two the same? I mean top questions of a company are the company tagged questions sorted by frequency. When I see it in leetfree, it shows the same.
Not for me. For example, when I select by the Google tag and sort by frequency, the second result is "K Empty Slots", which doesn't show up in the "Top Google Questions" category. My guess is that this discrepancy is caused by one of two things. Either (1) the frequency sorting for the tagged questions is overall frequency (ie, not frequency asked at Google specifically) and/or (2) the Top Questions category is a specially curated category that might not be updated as often.
So just keep track of the max to the left and the max to the right of each element? Got it! Now I don’t have to study.
We’re on the same boat. Google onsite in a few weeks and FB screen around the same time (bombed my FB screen last year so I had to wait a year to try again). I’ve being working through Elements of Programming Interviews in Java and then jumping on leetcode to solve the same problem with tests. Leetcode is definitely helping and the plan is to also do as many top questions by company (by freq) while also going through the system design questions in EPI. Best of luck!
Are design in epi good
They’re great. Very thorough
Stop doing hard problems. Focus on medium. You will get to a point where you've literally seen the approach necessary to solve 95% of problems and have practiced them thoroughly (at around 150-170). After that, you'll be able to nail any onsite. Source: got Google, Bloomberg, Amazon, Goldman offers recently. Grind hard. You can do it!
What was TC for each of those offers?
230, 240, 160 (Seattle), 250, respectively
Do u get the premium membership for leetcode or just start off with the basic (free) version?
Great! Since when are you practicing? And how many have you solved till now? Sorry, another question instead of a reply! Tia
Hey, thanks for responding! Only really started practicing intensely with LC maybe about a week ago. Before that I was working through CTCI with pen and paper. I've done contests on HackerRank for fun though in the past so it's not super unfamiliar to me. Right now at 51/808, 24 Easy, 22 Med, 5 Hard. I've done 18/50 Top Google Questions and 23/50 Top FB Questions.
Damn I wish I could get these insights when doing Hards and Mediums ;(