Cobblestone Energy Interview Question

LC 79, Word Search from Leetcode