Ans-: A well-defined computational procedure that takes some value, or a set of values, as input and produces some value, or a set of values, as output. It can also be defined as sequence of computational steps that transform the input into the output.
An algorithm can be expressed in three ways: -
1. In any natural language such as English.
2. In pseudo code or
3. In the form of a flowchart.
Tags
data structure