Skip to content

Glossary: Coding Interviews in JavaScript

Infinity

A built-in JavaScript number bigger than any other. In DP it starts as 'worse than any real answer', so the first real answer always beats it.

Where the book teaches it

Related terms

Dynamic programming (DP)DP table