My recent biggest problem is that i start coding a problem to soon. Like in my head an idea that should solve a problem will work but when i start actuall coding i often realise that it wont at all. Also this process of realising can be quite time consuming. To fix this i tried to divide a problem into supbroplems and think about every part individually, how i would do this in code. But even then i often miss some small detail and solution falls apart. Any pro tips how i can fix this? How are you guys dealing with this? At what point do you realize that you are ready to code a solution?
Well I do start coding a problem too soon and then realize that algorithm not work. I think to fix it you must test some special testcases such as boundary value or all same values in an array, ...
Often that is not about testcases or boundaries, cause problem might be too hard to test everything by hands
Yeah that's why you need to be good at imagination
I dont think so. I think that maybe someone came up with simple list like "what should i check before coding"?