Minimize a Positive-Array Target Window Length
Company: Google
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Other
Overview: Find the shortest positive-sum target window with a linear scan and a separate prefix-sum binary-search alternative.
Community answers
Answer by Coderka14