Medium
Given an m x n grid of characters board and a string word, return true if the word can be formed from sequentially adjacent (horizontally or vertically) cells, using each cell at most once.
Input: board = ["ABCE","SFCS","ADEE"], word = "ABCCED" Output: true
Input: board = ["ABCE","SFCS","ADEE"], word = "ABCB" Output: false