Write a method that will take a team as parameter and generate the strongest squad from the existing set of players.
The player and the position of the goalkeeper can be only one in the squad.
The second parameter is scheme of players on the field, the default scheme is 4-4-2.
Take into account injured players and players with red cards.
Write a method that will take a team as parameter and generate the strongest squad from the existing set of players. The player and the position of the goalkeeper can be only one in the squad. The second parameter is scheme of players on the field, the default scheme is 4-4-2. Take into account injured players and players with red cards.