Technical Assessment:
1. Design an API structure (no code, just paths/verbs/errors) for an event system (kinda like the beginning of a system design problem)
2. Given values array and gapSize, print out min/max values within each gap length (fixed sliding window = gapSize)
const values1 = [0, 1, 3, 4, 5, 8, 9, 10, 11];
const gapSize1 = 3;
console.log(groupValues(values1, gapSize1)); // Output: [{ min: 0, max: 3 }, { min: 4, max: 8}, { min: 9, max: 11 }]