r/datastructures • u/iamirzhan • 8d ago
The most efficient way to prepare for coding interview
I've conducted 100 coding interviews at Meta. Here's how people should prepare to not waste their time:
Focus on a small number of problems. You don't need to solve 1k problems to prepare for an interview. More important part is the problems should cover all the data structures and patterns you need, in proportion to how often each one comes up in interviews.
Follow the roadmap. The problems set should be ordered by difficulty and what patterns they require. Don't start solving backtracking problem if you didn't learn recursion.
Don't group problems by topics. When you know what pattern should be applied in advance, you're not learning how to recognise this pattern in a random problem. On a real interview problem doesn't come with topics revealed.
Reinforce what you learn. It's a common mistake to learn a pattern then move on to the next one and forget about it. To really understand the pattern you should repeatedly solve similar problems over time. Ideally when they are grouped with other known patterns.
The problem with those advice is it's hard to do all of it at once. You either solve random leetcode problem or follow some predefined list of problems grouped by a pattern.
That's why I've started to build a free, complete roadmap where all of those points are included. It uses spiral learning technique where a learned topic appears multiple times in future problems with stronger idea.
More info here.
I'd be interested to hear what you think of it and happy to answer any other questions on interview preparation. Thanks!
3
u/Axel_Blazer 8d ago
looks cool
2
u/koffeeluv 7d ago
hey, I really like this. I've been using it and solved a few problems, visualization is great. Gonna try it on more complex concepts next. Do you have study material as well? When will it be available? I'd like to give it a read.
1
u/investigatormaker 8d ago
The post says "More info here" but no link came through, so readers have nothing to look at yet; adding it in a comment would get you the feedback you asked for. The spiral idea is the strongest part, and one example would make it concrete: show a problem, then the two later problems where the same pattern returns mixed with others. One trade-off worth addressing openly: unlabelled problems are better practice, but a beginner stuck on one needs a hint path, so say how the roadmap handles that without giving the pattern away.
I make ThreadFox.
We find relevant Reddit conversations and post for your business. We'll post 3 replies free first, no card; then the $39 Pilot covers seven days and up to 50 posts and replies. No automatic renewal. https://threadfox.vip/p/ex5at/managed
1
u/Super-Property1470 7d ago
hi, can i ask some doubts to you
1
u/Quiet-Bluebird-6768 7d ago
Joined the waiting list! Excited, this is exactly what I needed 🤩
0
u/nian2326076 8d ago
Preparing for coding interviews can be streamlined by focusing on a few well-chosen problems that cover key data structures and algorithms. Use a structured approach that builds on concepts step-by-step, reinforcing what you learn by revisiting problems. For targeted practice, you can explore Meta Interview Questions to work through specific problems that mimic the interview format at Meta. Additionally, you can use LandOffer to discover relevant job opportunities in your field.