class Solution { public: vector<vector<int>> direction = {{0, -1},{-1, 0},{0, +1},{+1, 0} }; //左上右下 vector<vector<int>> used; //防止一次检验字符串时,重复搜索 bool exist(vector<string>& board, string word) { used.resize(board.size(), vector<int>( board[0].size(), 0) ); //初始化...