Consecutive Numbers Sum

Asked at Blink Health · Coding Questions · Difficulty: Medium

Given a positive integer `N`, count the number of ways to represent `N` as a sum of **one or more consecutive positive integers**.

Loading the problem…