Problem 422 · Easy

Valid Word Square

Check if word square is valid (word[i][j]==word[j][i]).

Open the interactive visualisation