Suppose you have a grid as follows:
And you are given the following list of words to find:
DOG
MARK
MATH
You must determine the positions (row and column position) of where each word STARTS (assume the words appear in rows and read forward - left to right - or backwards - right to left. You do not have to look for words vertically or diagonally). Let the "position sum" be the sum of the row position and the column position.
The word "DOG" starts (forwards) in row 1, column 1 and position sum = 1 + 1 = 2
The word "MARK" starts (forwards) in row 2, column 2 and position sum = 2 + 2 = 4
The word "MATH" starts (backwards) in row 4, column 4 and position sum = 4 + 4 = 8
Now, download the grid of letters here and the list of words here .
Calculate the the position sum for each word in the second file and report your answer as the sum of all these values.
So for the example above, your final answer will be 2 + 4 + 8 = 14
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
A quite simple Python solution.
This provides the answer, which is 2 0 8 6 .