← Back to Difficulty Selection

Code Review (Easy): Mapping Signal Boosters

Story

While designing a layout tool for the server room, Lena found that placing high-frequency boosters on the same horizontal, vertical, or diagonal path caused them to interfere with each other. Eva requested a feature that generates every possible way to arrange these boosters on a grid so that no two ever cross paths. For instance, on a four-by-four grid, the tool should show specific arrangements like one where boosters sit in the second and fourth slots of the first two rows, respectively, ensuring that no two units share a line of sight.

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: Sequencing the Pipeline

Cookies help us track your progress - nothing extra.