There is a matrix of 5x5 letters, you need to find all the words. Have a dictionary with words of the Russian language.
The following letters can be adjacent letters and the letters diagonally.
Need algorithm to find words. (or a direction in what side to dig)
In the example, the word "timidly".