Sollicitatievraag bij BOX Partners, LLC

sliding window based coding question with less time complexity