HubSpot Interview Question

Sorting algorithm, simple, sliding window algorithm.