Jump to content

One-pass algorithm

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Dmh~enwiki (talk | contribs) at 19:18, 4 January 2007 (Stub. There doesn't seem to be an entry for this.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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) time and less than O(N) storage (typically O(1)), where N is the size of the input.