off-by-one error
Noun
- A logic error where a value, typically the number of iterations of a loop, is specified incorrectly, being either 1 less or 1 more than it should be
source: Wiktionary mirror (dictionary.db) · licence: CC BY-SA 4.0 (Wiktionary dump) · page
Cite this
"off-by-one error". Wiktionary mirror (dictionary.db). CC BY-SA 4.0 (Wiktionary dump). https://en.wiktionary.org/wiki/off-by-one error