&lt;p&gt;An algorithm is a step by step method of solving a problem. It is commonly used for data processing, calculation and other related computer and mathematical operations.&lt;br /&gt;&lt;br /&gt;An algorithm is also used to manipulate data in various ways, such as inserting a new data item, searching for a particular item or sorting an item.&lt;/p&gt;