$$ \sum_{i<j}\sum_{j=1}^N(y_i-y_j)^2= N \sum_{j=1}^N(y_i-\bar{y})^2 $$ Where, $\bar{y}$ is the average.
This is what I did: $$ \sum_{i<j}\sum_{j=1}^N(y_i-y_j)^2\\=\sum_{i<j}\sum_{j=1}^N((y_i-\bar{y})-(y_j-\bar{y}))^2 \\= \sum_{i<j}\sum_{j=1}^N(y_i-\bar{y})^2+\sum_{i<j}\sum_{j=1}^N(y_j-\bar{y})^2-2\sum_{i<j}\sum_{j=1}^N(y_i-\bar{y})(y_j-\bar{y}) $$
Now, the third term is zero as $(y_i-\bar{y})$ can be taken outside of the inner summation. I tried to simplify further but, it did not work out finally. Any help is appreciated.
$$ \sum_{i<j}\sum_{j=1}^N(y_i-y_j)^2= N \sum_{j=1}^N(y_i-\bar{y})^2 $$ Where, $\bar{y}$ is the average.
This is what I think might work given a clue from @angryavian: $$ \sum_{i<j}\sum_{j=1}^N(y_i-y_j)^2\\=\frac12\sum_{i=1}^N\sum_{j=1}^N((y_i-\bar{y})-(y_j-\bar{y}))^2 \\= \frac12\sum_{i=1}^N\sum_{j=1}^N(y_i-\bar{y})^2+\frac12\sum_{i=1}^N\sum_{j=1}^N(y_j-\bar{y})^2-\sum_{i=1}^N\sum_{j=1}^N(y_i-\bar{y})(y_j-\bar{y})\\=\sum_{i=1}^N\sum_{j=1}^N(y_i-\bar{y})^2\\=N \sum_{j=1}^N(y_i-\bar{y})^2 $$ Note, the third term from the expansion of the square is zero as $(y_i-\bar{y})$ can be taken outside of the inner summation. What say? The second step follows from symmetry.