Math and Geometry
158 / 170Math and GeometryLesson 3 of 5About 92 min
Rotations and traversals, done with coordinate identities rather than by pushing indexes around until the tests pass.
This is meant to reflect a square grid across its main diagonal, in place. It returns the grid completely unchanged. Click the line that is wrong.
Read the constraints first and let them tell you what complexity is expected. Derive the approach, implement it, run the tests, and submit when it passes.
Read the constraints first and let them tell you what complexity is expected. Derive the approach, implement it, run the tests, and submit when it passes.
Read the constraints first and let them tell you what complexity is expected. Derive the approach, implement it, run the tests, and submit when it passes.