3.4. Glossary¶
Algorithm: A generic, step-by-step list of instructions for solving a problem.
Average Case: Refers to when an algorithm performs between its worst and best case given a certain data set or circumstance.
Best Case: Refers to when an algorithm performs especially good given a certain data set or circumstance.
Big-O Notation: Another term for order of magnitude; written as
Brute Force: Technique that tries to exhaust all possibilities of a problem.
Contiguous: Adjacent or next to.
Dynamic Size: Able to change size automatically.
Exponential: Function represented as a number being raised to a power that increases like
Linear: Function that grows in a one to one relationship with its input like
Logarithmic: Functions that are the inverse of exponential functions usually presented as
Order of Magnitude: Function describing the part
Quadratic: Function describing a relationship who’s highest order is a number squared:
Simplified:
Complex:
Worst Case: Refers to when an algorithm performs especially poorly given a certain data set or circumstance.