You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement an algorithm to find the pivot integer where the sum of numbers from 1 to x equals the sum from x to n. The function returns the pivot integer or -1 if no pivot exists.
0 commit comments