|
|
|
Ask HN: How to improve problem solving and reasoning skills
|
|
2 points
by ayEl
3443 days ago
|
|
As a CS student in my final year, I still have difficulties solving what I would characterise as relatively easy problems, I usually just start writing code as soon as I read the problem and just keep modifying it and adding stuff to it, I have tried writing algorithms on paper a few times but I haven't noticed any difference really since I don't really "think/reason" about what I'm writing, I don't know if my description is relatable but that's how it feels, it's more like me writing whatever pops in my mind rather than logically trying to solve the problem. So to circle back to my question, how would you go about dealing with this? |
|
You can improve your reasoning skills by fixing bugs. First observe the bug, try to make a hypothesis. Try to support it by reading the code (do not run it, don't use a debugger at this point). Once you have a plan, find evidence that support your theory. Once your theory is right, find a solution, and answer the question "why".
It will take time, but you will improve over time. For me, the key is patience.