Skip to content

Glossary: Coding Interviews in Rust

INF (u32::MAX)

Also written: INF, u32::MAX

The biggest `u32`, used as a stand-in for "worse than any real answer". It is also the DP result when no mix of bags works.

Where the book teaches it

Related terms

saturating_add / saturating_subDynamic programming (DP)