One-pass algorithm
Appearance
In computing, a one-pass algorithm is one which reads its input exactly once, in order, without buffering. A one-pass algorithm generally requires O(n) (see 'big O' notation) time and less than O(n) storage (typically O(1)), where n is the size of the input.