Skip to content

Glossary: Coding Interviews in C++

Integer overflow

Also written: overflow, wrap, long long

When a number goes past what its type can hold, such as an `int` past 2 billion, so it wraps or gives a wrong result. Use `long long` for big totals.

Where the book teaches it

Related terms

INF