← Back to Difficulty Selection

Code Review (Easy): Rotating the Review Pool

Story

Lena was asked by Eva to create a small utility for their internal scheduling tool to help assign rotating groups for peer reviews. The tool needs to generate every possible unique group of a specific size from the total pool of available team members. For instance, if there are four staff members and the team needs to find all possible pairs, the utility should list every distinct duo, such as members 1 and 2 or 2 and 3, until every combination is accounted for. Mark noted that the order within the group doesn't matter, so long as every unique set is discovered.

Your Task

Read the story and code, then decide if the code is ready for production or needs improvement.

Hints

What would block an approval? Give me a hint.

Next

Check out Next Topic: Describing Numeric Patterns

Cookies help us track your progress - nothing extra.