Post

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

  1. Well defined input
    • may or may not take input
  2. Well defined output
    • at least one output
  3. Finite-ness
    • algorithm must terminate after finite time
  4. Clear and Unambiguous
    • only one meaning
  5. Feasible
    • should be exectued with available sources
This post is licensed under CC BY 4.0 by the author.