Conditions of a good Algorithm
Algorithm π Data Structure
Data Structure: to save data according to rules and objective
Algorithm: set of instructions to solve a problem using data
β Conditions of a good Algorithm
- Well defined input
- may or may not take input
- Well defined output
- at least one output
- Finite-ness
- algorithm must terminate after finite time
- Clear and Unambiguous
- only one meaning
- Feasible
- should be exectued with available sources
This post is licensed under CC BY 4.0 by the author.