Capital OneCoding·70 minMembers
Dynamic Two-Array Pair Sum Queries
Members only
Maintain arrays `a` and `b` under point updates to `a`. For each sum query, append the number of `(a[i], b[j])` pairs whose values add to the requested target.
SWE
DS
hashmap
array
simulation
medium
oa
codesignal
Frequency
Low
Last asked
2026-06-05
Stage
oa
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
