← Back to Difficulty Selection
Code Review (Easy): Sorting Label Variations
Story
Lena noticed that the internal documentation portal was getting cluttered because different teams were creating labels using the exact same letters in different orders. To clean this up, she created a small utility that finds these related terms and groups them into single categories. Mark reviewed the code and noted how helpful this would be for organizing their chaotic 'watercooler' channel tags. For example, if a user enters 'opts', 'stop', and 'post', the tool should bundle them all together, while keeping a unique word like 'send' in its own separate group.
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: Cleaning the Maintenance Schedule