O'Reilly logo

Programming in C: A Practical Approach, First Edition by Ajay Mittal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B

Algorithms and Flowcharts

B.1 Algorithm

The study of algorithms, sometimes called algorithmics, is one the fundamental areas of Computer Science. Algorithmics is concerned with discovering efficient algorithms and representing them so that they can be understood by the computers. In this brief introduction to algorithms, I will tell you about what defines an algorithm and how to represent algorithms.

Algorithm is a fundamental notion in Computer Science. Therefore, it deserves a precise description. An algorithm can be described as ‘A finite set of instructions, which if followed, accomplishes a particular task’. In addition, every algorithm must satisfy the following criteria:

 

1. Input:

An algorithm may have zero or more quantities ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required