Algorithm

| Term | Algorithm |
|———–|————————————————————————————————|
| Characteristics | Step-by-step procedure: A clear set of instructions to solve a problem or perform a task.
Finite: Must have a defined number of steps and terminate after completion.
Input and output: Takes input values and produces output results.
Deterministic: Each step is precisely defined and unambiguous.
Effective: Each step is basic enough to be carried out exactly and in a finite amount of time. |
| Examples | Sorting algorithms: Bubble sort, quicksort, merge sort.
Search algorithms: Binary search, linear search.
Encryption algorithms: RSA, AES.
Pathfinding algorithms: Dijkstra’s algorithm, A* algorithm. |

Comments