Given an m x n grid of characters board and a string word, return true if word exists in the grid.
Input: board = [["A","B","C","E"],["S","F","C","S"],["A","D","E","E"]], word = "ABCCED"
Output: true
Topics: backtracking, arrays
Asked by: Amazon, Microsoft
Time complexity: O(N * 4^L). Space complexity: O(L).