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
* You are given an array of positive integers - the weights of the people.
* Return an array of two integers, where the first element is the total weight of team 1, and the second element is the total weight of team 2 after the division is complete.