Fill a Special Grid
Place 0 through 4^n - 1 in a 2^n by 2^n grid so that every value in the top-right quadrant is below the bottom-right, which is below the bottom-left, which is below the top-left, and each quadrant follows the same rule.
Place 0 through 4^n - 1 in a 2^n by 2^n grid so that every value in the top-right quadrant is below the bottom-right, which is below the bottom-left, which is below the top-left, and each quadrant follows the same rule.