Medium · Prefix Sum
Subarray sum equals k
Count contiguous subarrays whose values sum to a target.

Retrieval check
With the notes hidden, what pattern should this room bring back?
Medium · Prefix Sum
Count contiguous subarrays whose values sum to a target.

With the notes hidden, what pattern should this room bring back?