Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Word Game

Implement the solution in a language of your choice.

You are given a rectangular table filled with characters and a word.

Your task is to count the occurences of the word in the table. The word can be found horizontaly, vertically and across both left to right and right to left.

For example, find the word ivan in the table:

i v a n
e v n h
i n a v
m v v n
q r i t

Result:

3

Figure out a smart way to input the required data.