Count number of subarrays having sum equal to K
Filed under TATA 1MG
The question
Count the number of contiguous subarrays whose elements sum up to a specific value K.
No write-up yet. Related questions below have one.
Related TATA 1MG questions
Collected from public candidate posts and coding forums. Updated Nov 2026.