← Back to Difficulty Selection
Code Review (Easy): The Grid Organizer
Story
Lena was working on a feature to help the team arrange dashboard widgets into a balanced square grid. Mark asked her to create a helper that finds the largest possible side length for a group of items without using any of the standard math tools usually included in the language. For example, if there are 8 widgets to display, the helper should determine that 2 is the maximum number of items that can fit along one side.
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 Up Dashboard Inputs