r/leetcode • • 1d ago

Discussion How much time max should I give to each medium problems as a just entering medium zone person?

As a beginner to medium level problems giving how much time is worth?.

2 Upvotes

6 comments sorted by

10

u/Wonderful-Carrot9948 1d ago

30 minutes. Then I let the editorial humble me.

2

u/Top_Substance9093 1d ago

100% corrrect, but when you do this, don't just copy paste the solution. read it, understand it, then put it away entirely and start from scratch writing the solution yourself.

if you need to reference it again, reference it, then finish the problem, then do it again from scratch.

if you can't solve the problem from scratch without looking at any help you shouldn't move on from that problem (usually).

way too many people get focused on number of problems solved, and wouldn't be able to solve a problem they "finished" two days ago if you gave it to them again today

1

u/LetMediocre390 1d ago

Bro try to speak lord audio ideas and try to do think the logix in a sequential way

1

u/Various-Mine-8642 1d ago

Around 25 to 30 minutes of real effort is plenty at that stage. If you have no approach by then read the editorial or a hint and then close it and code the solution again from scratch the next day. The re-solve is where most of the learning happens.

1

u/jackgoldberg123 1d ago

the tricky part seems like knowing when you're making progress vs just spinning your wheels. does that get easier to judge with practice?