Algorithms

The word algorithm refers to a step-by-step method for performing some action.

Examples

Suppose we have a list of numbers. Then how do we find the maximum element in the list?

To express the algorithm, we’ll use pseudocode

The algorithmic language used in this book is a kind of pseudocode, combining elements of Python, C, C++, and Java, and ordinary, but fairly precise, English. (여러 언어들의 요소를 조합한 유사코드)

statements, loops, and so forth

Ordinarily, algorithm statements are executed one after another in the order in which they are written.

In high-level computer languages, the term variable is used to refer to a specific storage location in a computer’s memory.