Question d’entretien chez Weave

Leetcode medium question around subarrays.