Oracle interview question

Word Finding game in matrix