algorithms

Definition

Algorithm

An algorithm is a well-defined, step-by-step procedure or set of rules designed to solve a specific problem or perform a computation. Its effectiveness is often analysed in terms of its correctness and its efficiency, particularly its runtime in relation to the input size.

Greedy

Definition

Greedy Algorithm

An algorithm is called greedy if it constructs a solution incrementally using a local criterion, without foresight, to select the next solution component to be added.

Link to original