I always use debugging and writing test cases to solve coding problems. This has been very useful so far, but now that the problems have become very complex, that is not enough anymore.
Is it possible to use tools such as:
- schemas of the state machine
- logical tables
- regular expressions
- something else
In other words:
A verification process where I check my solution or part of it will work before typing anything on the keyboard
A scaffolding in the process of thinking in order to arrive at the solution faster and with better quality
A theoretical framework to make the solution faster by not testing as much.
A model from which the pseudo-code can emerge more easily.
A workflow that relies less on heuristics and more on another formal method
This is the coding challenge that made me think that it could be solved more professionally:
Maybe this question belongs to https://cs.stackexchange.com and not here. I'm sorry if there is a way that my question does not meet the standards. If so, please let me know how to perfect it. This is my first and I have no intention of causing problems to the community. I know this question may be very vague, but my doubt is also very vague. Because I do not just ask directions, I also ask where to go.