ByteDance / TikTok logoByteDance / TikTok
CodingMembers

Balanced Array After Block Deletion

Members only

Delete k consecutive elements from nums so the remaining even-indexed and odd-indexed sums match. Return the smallest valid starting index; the legal k range and no-solution return convention are unsp...

array
prefix-sum
Frequency
Low
Last asked
—
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...