Data structures and algorithms exercise
Implement a recursive approach to showing all the teams that can be created from a group (n things taken k at a time). Write the recursive showTeams() method and a main() method to prompt the user for the group size and the team size to provide arguments for showTeam(), which then displays all the possible combinations..
Test your code with at least 4 test scenarios.
Calculate and print the memory used in bytes and CPU time for each test scenario you will provide. Discuss the findings in your documentation. HINT: You can use System.currentTimeMillis() to find the current time of the system in milliseconds….