When you create an algorithm, you need to include precise, step-by-step instructions. This means you will need to break down the task or problem into smaller steps. We call this process decomposition.
Algorithms are one of the four cornerstones of Computer Science. An algorithm is a plan, a set of step-by-step instructions to solve a problem. If you can tie shoelaces, make a cup of tea, get dressed ...