Why is learning to design algorithms important?
And if someone knows how to code, it does not mean they know designing algorithms
At the core of programming is thinking, thinking of the best way how a machine can do a task
Often you would come across folks who can write some code, but cannot think of a process themselves
And try jamming in pieces of code from different places instead
Taking a solution from how we’d do it in our head to getting it right in the code is sometimes easier said than done
To learn this skill, it’s best to follow some basic steps until this becomes second nature, in short which are:
– Solve problem on paper
– Write solution steps in detail
– Write pseudo code
– Script in desired language
More on that in a separate article.
#QsDaily