Do you guys randomly solve any leetcode questions when preparing for interviews? Or you target specific topic and solve questions related to that? I started interview preparation but still find myself nowhere :(
Spread yourself out and make sure you cover a bit of every data structure and algorithm, at least the basic ones
Start with elements of programming interviews - way better than CTCI and offers a tour of all the popular problem solving approaches like sliding windows, multiple pointers into the same array, fast ptr / slow ptr into linked lists, recursion for trees, graphs and DP. Once you nailed all these techniques down, grind leetcode w/ a premium subscription. If you are attempting google for ex, solve and make leetcode accept your solution for their section on top 100 google questions and you should be in good shape for algos. Also don’t assume that just because you’re nailing algorithms problems that you will automatically get the job at google - anything from multithreading to database design to OO patterns is fair game. From my unsuccessful interviews at various times with Apple, FB, Goog etc I’ve been asked stuff like - how do you make the whole internet faster? - how do you think a database searches for a row on a disk? - design a concurrency features on top of GCD (iOS low level library) - some questions around various types of locks, deadlocks, livelocks and using semaphores in multithreaded envs. - An Apple iOS frameworks team asked me what APIs I’d add to a basic class like NSString and how I’d evaluate if it should be provided by the framework at all or if it should be left to the user to implement. - In the OO world, I’ve been asked to come up with class level designs for anything from elevators in sky scrapers to vending machines. So while focusing on algos is good, whenever you’re tired of grinding leetcode, make sure you’re having some fun learning / think I g about some of the above.
Hey! While interviewing it's very important to note that it's a highly competitive process and so prep is very Important. Companies themselves really want you to prep. To be well prepared for top companies you need to prepare across Algorithms, Data Structures and System Design Technical questions. Technical questions can range from Design software for a parking lot to How would you design a Netflix streaming service. Typical areas are Strings, Linked Lists, Sorting, Recursion, Dynamic Programming, Trees, Graphs, Scaleable Distributed Systems, Concurrency, Objecting modeling among others. In addition there is also the need to prepare for the Behavioral or softer side of interview prep. There are many ways to prep for top company interviews. CTCI and EPI are. Good books to start with. There are also some online resources that you could look at such as Pramp, interviewing.io etc. We also offer a structured Boot camp for interview prep at interviewKickstart.com which we've been running for almost 4 years. Everyone is unique though so it's best that you research all options to see what works for your learning style. There is no doubt that Interview prep is very intimidating but the benefits of preparing we are very significant and long lasting. So its well worth your while to research what resources work best for you. All the best
There’s a program called Heapclub.org that prepares you for interviews. It’s only available in San Jose at the moment
Interviewcamp.io It’s booked for December though probably few January spots are open still!
Premium will give a good structure
nice tip capital one
I have no doubt that LeetCode Premium significantly helped me increase my TC by over $100k/yr. I didn't even consider the cost, whatever it was I can definitely say it was worth it.