word-search
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了word-search相关的知识,希望对你有一定的参考价值。
Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically neighboring. The same letter cell may not be used more than once. For example, Given board = [ ["ABCE"], ["SFCS"], ["ADEE"] ] word ="ABCCED", -> returnstrue, word ="SEE", -> returnstrue, word ="ABCB", -> returnsfalse.
以上是关于word-search的主要内容,如果未能解决你的问题,请参考以下文章