Enphase Energy Interview Question

sliding window