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 ...
There is always more than one way to implement a standard algorithm. The examples used have been designed as revision materials that exemplify some of the ways to implement these algorithms. In each ...