## What Is Algorithm

An Algorithm is a simple formula to solve complex calculations or to solve complex problems . A easy way to understand algorithms is look about table of number 2 .

In the other way , algorithm is a way to make take large tasks with creating small formulas .

Table is also a simple algorithms to make sum of numbers .

**Example :** Make the sum of 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 + 2 = 20 . In this example sum to number 2 ten times . This is a big task . Now the other formula to solve this multiply 2 to 10 . 2 x 10 = 20 . In this example 2 x 10 is algo-rithm to sum of number 2 ten times .

## Algorithm in computer science

In the computer science , algorithms definition is same as above . In computer science algorithm works as follows .

- Get the input
- Do complex calculations
- Stops the algorithm when answer is found .

All of computer software’s are the examples of algo-rithm’s . Complex calculation make the software working .

### Example : Google Maps Algorithms

Google maps are is one of the good example of computer science algorithms . When user try to search root of specific city from his own in google map . In the back google maps do the complex calculations to to find root .

Google algorithm calculate distance from your to specif city . By doing large of calculations google find all the maximum possible roots and its distance from your city .

## What makes a Algorithm good

Efficiency , correctness and good speed to find results makes the algorithm good .