Glossary: Algorithms Beyond the Basics in JavaScript
Set
Also written: Set object
A JavaScript collection that holds each value once, with `add`, `has` and `delete`, so checking membership is O(1). It tracks which cafés are already in a route and which corners are closed.