Off-by-one error
Also written: off by one
A bug where a count or index is one too small or too large. For example, a window from `left` to `right` holds `right - left + 1` items, not `right - left`.
Also written: off by one
A bug where a count or index is one too small or too large. For example, a window from `left` to `right` holds `right - left + 1` items, not `right - left`.