r/CodingForBeginners • • 3d ago

Quick Question

How much time must spent for solve eolymp or leetcode problems

0 Upvotes

13 comments sorted by

3

u/Quirky-Net-6436 3d ago

At least one minute.

0

u/ISAISMAK 3d ago

Nice ragebait

4

u/Quirky-Net-6436 3d ago

Stupid question in -> stupid answer out.

2

u/kutac56 3d ago

Not ragebait

1

u/goqmo 3d ago

oh wow, that's brutal i hope you had a really good reason

1

u/Still_Membership2640 3d 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 3d ago

Asking ai good or try solve myself?

4

u/xarop_pa_toss 3d 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 3d 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

u/1544756405 3d ago

Do you want to test whether AI can solve the problem? Or whether you can?

1

u/nian2326076 2d ago

The time needed to solve problems on platforms like eolymp or LeetCode can vary a lot, often taking anywhere from a few minutes to several hours. It largely depends on your familiarity with the types of problems and your grasp of the underlying concepts. A solid approach is to dedicate specific time for practice and gradually tackle more challenging problems. If you're looking to hone your interview skills, you can use PracHub to practice technical questions that are frequently asked in interviews.

1

u/Ok_Carrot_896 3d 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.