← Back to Difficulty Selection

Code Review (Easy): The Sideways Icon Fix

Story

Lena noticed that some of the custom icons for the developer dashboard were appearing sideways after being uploaded. She decided to build a small utility to flip these square images ninety degrees to the right so they would display correctly. Mark reviewed her plan and suggested she shuffle the pixels within the existing grid rather than generating a brand new one to keep the utility lightweight. As an example, a simple layout with 1, 2, 3 in the first row should be transformed so that 1, 2, 3 becomes the very last column on the right.

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: Matching Project Blueprints

Cookies help us track your progress - nothing extra.