Given a positive integer n, return the number of ways to express n as the sum of consecutive positive integers.
Implement def consecutiveNumbersSum(self, n): to compute this value.
Constraints:
n
Given a positive integer n, return the number of ways to express n as the sum of consecutive positive integers.
Implement def consecutiveNumbersSum(self, n): to compute this value.
Constraints:
n