I'm really passionate about competitive programming and keen on enhancing my problem-solving skills. However, I've been facing a challenge whenever I get stuck on a problem. Should I reach out to AI for help, just give up and switch to another problem, or is there a more effective way to handle this to ensure I keep improving? Lately, I've felt lost, spending hours—and sometimes even days—trying to come up with a solution, often with no success at all.
3 Answers
The best way to learn is to tackle problems by yourself, even if it takes time. Start with simpler problems. Understand the problem deeply by solving it manually before writing any code. Once you have a grasp on it, focus on translating those steps into code, and don’t hesitate to look up specific coding techniques if needed. Debugging is part of the process, so be patient! It's a natural step before achieving efficiency in your coding.
I hope there's a way to speed up my learning, but I get what you mean. Patience is key!
It's easy to fall into the habit of relying on AI for every problem, but it's crucial to dedicate some time, like 40 minutes a day, to really think through things on your own. This helps strengthen your understanding and problem-solving skills without external aids.
Thanks for the advice! But if I still can’t reach an answer after that time, what should I do next?
Set a strict time limit for yourself, like 30 to 45 minutes, where you genuinely try to work through the problem. After that, it’s okay to consult hints or guidance—not complete solutions. The aim is to understand the patterns rather than just fix the problem. Additionally, keep track of the types of problems you struggle with; honing in on those will give you more insight than breezing through easier problems.

Thanks! It sounds like I really have to commit time and focus to solving these. I’ll work on being more patient.