โ† OLA questions
CodingReported in a candidate post, May 2021

Find Consecutive Numbers Summing to N

Filed under OLA

The question

Find the sets of consecutive numbers that sum up to a given target n (e.g., target 9 yields [2,3,4] and [4,5]).

No write-up yet. Related questions below have one.

Related OLA questions

Collected from public candidate posts and coding forums. Updated Nov 2026.