Available question text
Given an array, answer queries (and possibly point updates) that ask for the sum of elements at indices forming an arithmetic progression (a start index and fixed step k) over many operations; constraints are large so you must exploit the evenly‑spaced pattern (e.g., group indices by modulo k, precompute for small k, or use sqrt‑decomposition / indexed structures) to achieve sublinear per‑query time.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1714. Sum Of Special Evenly-Spaced Elements In Array
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source