0829. Consecutive Numbers Sum
Description
**Input:** n = 5
**Output:** 2
**Explanation:** 5 = 2 + 3**Input:** n = 9
**Output:** 3
**Explanation:** 9 = 4 + 5 = 2 + 3 + 4**Input:** n = 15
**Output:** 4
**Explanation:** 15 = 8 + 7 = 4 + 5 + 6 = 1 + 2 + 3 + 4 + 5ac
Previous0828. Count Unique Characters of All Substrings of a Given StringNext0830. Positions of Large Groups
Last updated