Algorithm Introduction
Algorithm Introduction
From the data structure point of view, following are some important categories of
algorithms .
• Search − Algorithm to search an item in a data structure.
• Sort − Algorithm to sort items in a certain order.
• Insert − Algorithm to insert item in a data structure.
• Update − Algorithm to update an existing item in a data structure.
• Delete − Algorithm to delete an existing item from a data structure.
Problem − Design an algorithm to add two
Algorithms tell the programmers how to code the
numbers and display the result.
program. Alternatively, the algorithm can be written as −
3. It is not dependent on any programming 3. Big tasks are difficult to put in Algorithms.
language, so it is easy to understand for anyone
even without programming knowledge.