A solution to last week’s challenge can be found here.
You and your friends have decided to start your own tennis league. Your friends know you are good with data and have put you in charge of creating the schedule for the season.
At this point, you don’t know how many teams will be joining the league or how long the season will last. You decide to create an app that has two inputs: the number of teams participating and the number of weeks for the season. The app will then create a round robin schedule where each team will be matched up with each other team an equal number of times (unless the inputs require bye weeks).
The "Output Sample" shows what your output data rows will look like if you have 5 teams and 5 weeks for example.