Once again, if red letter is starting point and only allowed movements are: up-left, up, up-right, left, right, down-left, down and down-right, then, on how many ways word RADAR can be "written" (by using given movements for the given map)
Important observation: Notice that both ways ("blue" and "brown" way) in the following example are completely valid.
This is only one segment of the problem's map used only for explanatory purposes
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.
It is an overkill for sure, but here is my code.