Write $1,2,\dots,n^2$ into a $n\times n$ square grid. If $u,v$ are adjacent, call $\max_{u,v}|u-v|$ the maximal distance of this grid. So what is the minimal maximal distance?
I feel like that it is $n$, the construction is to write $1,2,\dots,n^2$ in order, but I do not know how to prove it, and I cannot find any results on it either.
This is closely related to the so-called vertex isoperimetric problem on the grid graph.
If $A$ is a collection of squares in the grid $\partial A$ denote the set of those squares that are not in $A$ but are adjacent to a square in $A$ (we'll call this the boundary of $A$). The vertex isoperimetric problem in a graph seeks to minimize the size of the boundary $\partial A$ of a collection of vertices while fixing the size of $A$. It is well studied problem and well understood for grid graphs (I believe originally due to Bollobas and Leader), and indeed if $|A| = \lfloor \frac{n^2}{2}\rfloor$ then $|\partial A| \ge n$.
Now suppose we have a way of filling the squares such that $|u-v| < n$ for adjacent entries $u$ and $v$. If we let $A_k$ denote the the collection of squares with labels at lost $k$ then $|A_k| = k$, and since $\partial A_k$ must be filled with entries of size at most $k+n-1$ we have that $|\partial A_k| < n$. But this violates the above when $k = \lfloor \frac{n^2}{2}\rfloor$.