Premium problem46. Coordinate Grid

Medium Locked

Return the x and y coordinate grids covering the [0,1] x [0,1] area, stacked into a single (2, n, n) array:

  • n evenly-spaced points per axis
  • index 0 holds the x grid, which varies along the columns
  • index 1 holds the y grid, which varies along the rows

Input

5

Premium problem

This one's part of Premium. Unlock the full NumPy track plus every other premium problem on the site.

Implement solve(...)