← Back to Difficulty Selection

Code Review (Easy): Organizing the Workspace

Story

Lena wrote a script to test the new sidebar, but Mark Patel noticed it only checked one specific order of the menu items. Eva Harrington requested that Lena expand the script into a general helper that could produce every possible arrangement of a given set of items. For example, if Lena inputs the numbers one and two, the helper should output both the sequence of one-two and two-one. This ensures the team can catch layout bugs regardless of how a developer decides to organize their workspace.

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: The Next Version

Cookies help us track your progress - nothing extra.