MetaCoding·40 minMembers
Subarray Sum Equals K
Members only
LeetCode 560. Count subarrays whose sum equals K. Prefix-sum + hashmap is the canonical solution; appears as the second half of Meta phone screens paired with a heavier first problem.
SWE
MLE
Infra Eng
array
hashmap
prefix-sum
medium
Frequency
Low
Last asked
2026-04-24
Stage
phone-screen · onsite-coding
Log in to continue reading the full content
