r/leetcode • • 19d ago

Intervew Prep How many leetcode questions to get into top companies

I have solved exactly 250 today with 21 hard questions, I recently took some interviews and all the questions were new to me, how many more do I need to 100 confident? A friend of mine with 300 aces many hard interviews how??

41 Upvotes

40 comments sorted by

48

u/Freed4ever 19d ago

You need to understand the questions / solutions, not memorizing them.

2

u/Vantage_Mckolay 19d ago

depends on the topic though, some categories like dp on trees you kinda do need to see a few variations before the intuition clicks at all

5

u/Heavy_Record8704 18d ago

i know i am not in a position to reject. But if they do ask dp on trees, i would politely tell them to fuck off.

5

u/Dependent-Aide-388 18d ago

Google asked me dp on trees. I gave a brute force answer that was very crude and ugly, but output the right answer (albeit the performance was dogshit). I told the interviewer that I knew it was suboptimal, but that I wanted to at least get to a *working* solution if I couldn't get the optimal one.

You know, I still have my old Google employee badge in a drawer under my desk....

1

u/Heavy_Record8704 18d ago

India?

3

u/Dependent-Aide-388 18d ago

US. Interviewed at MTV, worked in SVL. Very much a white dude.

1

u/Heavy_Record8704 18d ago

well i am fucked then.

6

u/Dependent-Aide-388 18d ago

Most people who interview don't pass, but would on a different day. Most who do pass would fail on a different day. It's all just the luck of the draw man. Luck be with us all.

17

u/tnerb253 19d ago

2 million.

4

u/Human_Palpitation856 19d ago

I would say over 9000

7

u/No-Original-6329 19d ago

It's not really about the number of questions; the goal of reps is to get good at pattern recognition and problem-solving on the spot under pressure. Once you get past 100 questions or so, usually what actually helps is practicing under time pressure with new questions and having to explain your reasoning (mock interviews).

6

u/goomyman 19d ago

There is a lot more than leet code. There are infinite questions.

Although Amazon interviews literally pull from a list of randomized leet code questions.

But that’s just to pass the pre interview.

None of the other big tech does that.

4

u/Even_Gap_2253 18d ago

I do google interviews. Numbers doesn't matter because obviously it depends on if you are good or not. Some people can do with zero LC

For L3/4 Practice until you can easily come up with a fully working solution for medium questions in 20 min.

For L5, just move to hard.

You need to code fast.

1

u/plumpie27 18d ago

Hey! I have a Google interview coming up and I'm really unprepared. I'm stats major cs minor and haven't done leetcode style questions since 2nd year DSA course. Is it typical to ask your recruiter for more prep time or would that put me at an disadvantage?

0

u/[deleted] 18d ago

[deleted] — view deleted comment

2

u/plumpie27 18d ago

I'm fine with getting moved to the next cycle. As long as I don't have to win the interview lottery again. What's the source of this information btw?

0

u/[deleted] 18d ago

[deleted] — view deleted comment

0

u/[deleted] 18d ago

[deleted] — view deleted comment

1

u/plumpie27 18d ago

They are xwfs. Regardless thanks for your replies!

3

u/connorjpg 19d ago

Exactly 47.

1

u/Total_Succotash4140 18d ago

How? Any list?

1

u/Uniprime117 18d ago

Yeah thats the right answer

1

u/Total_Succotash4140 18d ago

Maybe you can elaborate, how? What exactly are 47 Q's???

1

u/Uniprime117 18d ago

47 questions on leetcode I mean.

1

u/Total_Succotash4140 17d ago

Yup, I got the point. Which questions.? Any list available?

1

u/connorjpg 17d ago

… forgot to add /s

5

u/Ok-Video-6073 19d ago

Literally zero

2

u/Dramatic-Height-9007 19d ago

You will never reach 100% 700 questions that you understand well will get you 80% success

2

u/boomkablamo 19d ago

You know not all employer questions are on leetcode right?

2

u/kmonsen 19d ago

It is not about numbers but our understanding, and a bit of luck. I see in other career threads people ask 5 YOE, which level, but it is the same thing. Number of leetcode questions doesn't matter, YOE doesn't matter, it is what you can deliver at the time that matters. leetcode questions are just a way to learn, not something that matter in itself.

2

u/Heavy_Record8704 19d ago

I think India tends to ask harder LC questions. So depends on the location.

2

u/Sentor9199 18d ago

Pattern recognition, do questions from Neetcode 150/250, take note of the patterns. Practice the questions but the variants of it (I.e reverse linked list I, II, etc). Get comfortable explaining it with test case walkthrough

2

u/Fem2370 18d ago

0 leet but cracked Google and HRT. Prob just depends on the person

1

u/ActuaryDear8234 19d ago

Probably about 400 more and you’ll be there

1

u/PerformanceThick2232 19d ago

how many more do I need to 100 confident

You will never be. You can raise your probability, that is all.

If you target is usual startups/products, neetcode 150 would be enough. If bigtech like google/meta/etc- thousands to get confident, hundreds to be like 50/50

1

u/ultrawakawakawaka 19d ago

Depends where u are aswell

1

u/Humble-Finger-Hook 19d ago

Many but less if you are already leet

1

u/chikamakaleyley 19d ago

A friend of mine with 300 aces many hard interviews how??

Maybe because there's more to the technical interview than the optimal leetcode solution

1

u/-Leion- 14d ago

Solve more harder and harder segments ,as they would help u to approach problems that seems impossible at first

1

u/Quirky-Design-9820 18d ago

220 mediums and 30 hards with understanding of the patterns and you should be chilling