Problem Statement  
A large company is trying to put together a team of people to work on some task. In order for any team to work well, the people involved must be able to get along with each other. The managers at the company have put together a list of potential candidates for the team, and have assigned a number to each pair of candidates, representing how well those two people get along. The more positive a number, the better two people get along, while the more negative a number, the more they dislike each other. The candidates are all well qualified, so at this point the only consideration is how well the team will get along. You are to pick which candidates to put on the team to maximize the sum of the numbers assigned to all of the pairs of people on the team. You will be given a String[], people, each of whose elements represents a single candidate, and an int, teamSize, representing the number of people to place on the team. Each element of people will be formatted as (quotes and angle brackets for clarity only): "<name> <number0> <number1> <number2> ... <numberN>" In other words, the element will start with the person's name, which will consist only of uppercase letters ('A''Z'), and will be followed by a single space delimited list of integers. The j^{th} integer in the i^{th} element will represent how well person i gets along with person j and will be the same as the i^{th} integer in the j^{th} element. The i^{th} integer in the i^{th} element will always be 0 (how well a person gets along with himself). Your task is to return a String[], which contains the names of the people to put on the team (if more than one person on the team has the same name, that name must be in the returned String[] once for every member of the team with that name). The returned String[] should be sorted in ascending order. To make things simpler, there will only be one team which causes the maximum sum. For example, if teamSize = 3 and people = {"ALICE 0 1 1 3", "BOB 1 0 2 4", "CAROL 1 2 0 2", "DAVID 3 4 2 0"}There are four ways to create a team with 3 people. They give rise to the following sums: ALICE, BOB, and CAROL: 1 + 1 + 2 = 2 ALICE, BOB, and DAVID: 1 + 3 + 4 = 0 ALICE, CAROL, and DAVID: 1 + 3 + 2 = 4 BOB, CAROL, and DAVID: 2 + 4 + 2 = 0 Of these, ALICE, CAROL and DAVID gives the highest sum, so your method would return {"ALICE","CAROL","DAVID"}.  
Definition  
 
Constraints  
  people will contain between 3 and 20 elements, inclusive.  
  Each element of people will contain between 7 and 50 characters, inclusive.  
  teamSize will be between 2 and the number of elements in people  1, inclusive.  
  Each element of people will be formatted as a sequence of uppercase letters ('A''Z'), followed by a single space delimited list of integers.  
  Each element of people will contain the same number of integers as there are elements in people.  
  Each integer in each element of people will be between 999 and 999, inclusive and will not have any extra leading zeros.  
  The i^{th} integer of the j^{th} element of people will be the same as the j^{th} integer of the i^{th} element of people.  
  The i^{th} integer of the i^{th} element will always be 0.  
  There will be only 1 way to make a team with the highest sum.  
Examples  
0)  
 
1)  
 
2)  
 
3)  
