word search puzzle in java
Im studying for my Java class and need an explanation.
A word from the list is said to be in the grid if it appears horizontally, vertically, or diagonally in the grid of letters. You may assume that all words and grid letters will be in upper case and at least 2 letter long. The minimum size of the grid is 2×2 and the maximum size of the grid will be 1000×1000. The minimum size of the word list is 1 and the maximum size of the word list is 10000. The same word may occur more than once in the grid and some words in the list may not be in the grid