ByteDance / TikTok logoByteDance / TikTok
CodingMembers

Subarray Sum Equals K (Count)

Members only

A ByteDance / TikTok first-round array problem centered on counting qualifying contiguous ranges. The prompt is familiar, but overlapping matches and edge-case accounting make clean state management the differentiator.

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...