r/CodingForBeginners • u/ISAISMAK • 1d ago
Quick Question
How much time must spent for solve eolymp or leetcode problems
1
u/Still_Membership2640 1d ago
I think it depends on the difficulty and your experience. Personally, I'd give easy problems around 15–30 mins, medium ones 30–60 mins, and hard ones 1–2 hours. Don't stress too much about the time though. If you're stuck, take a break, look at a hint if needed, and try solving it again. Understanding the approach matters more than solving it fast.
-2
u/ISAISMAK 1d ago
Asking ai good or try solve myself?
4
u/xarop_pa_toss 1d ago
Using AI to generate any sort of code for leetcode problems is basically cheating. It actually is cheating in 99% of interviews.
The hard part is not writing the code but coming up with an efficient solution. The code is just the representation. I've solved some leetcode problems in like under 5 minutes and have taken hours on others, filling up multiple notebook pages. There is no learning without struggle.
1
u/TheUmgawa 1d ago
Coming up with how to solve the problem is the hard part. Code is easy, problem solving is where most “coders” are weak, so if you’re having problems with that, using a crutch isn’t going to teach you how to think it through.
Sometimes I’ll use playing cards as data simulations. If you can solve it by hand, you can solve it in code. You just need to be able to repeat the process in exactly the same way every time, and that’s hard for a lot of people. But you’d be surprised by how many Leetcode problems are kind of trivial to solve by hand.
1
1
u/Ok_Carrot_896 1d ago
Depends on the difficulty and how good you are. An easy problem is around ~10-15 minutes, medium one should be around ~20-25, and a hard one should take you anywhere between 45 to an hour. Most job interviews will go for a mix of easies and mediums, so you should work on getting those times down more than worrying about the hards.
3
u/Quirky-Net-6436 1d ago
At least one minute.