Glossary: Algorithms Beyond the Basics in JavaScript
Subarray
Also written: run of neighbors
A run of items that sit next to each other in an array. Problems about the best or shortest run of days are subarray problems, and point to a sliding window.