ByteDance / TikTokCodingMembers
Subarray Sum Equals K (Count)
Members only
Given an integer array and a target `k`, return the number of contiguous subarrays whose sum equals `k`. The exact interview signature, constraints, and examples remain unspecified.
SWE
array
prefix-sum
hashmap
medium
Frequency
Single report
Last asked
—
Stage
phone-screen
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
