摘要:
Problem Description:Givennnodes labeled from0ton - 1and a list of undirected edges (each edge is a pair of nodes), write a function to check whether t... 阅读全文
摘要:
A typical DFS problem. Just go ahead... 1 class Solution { 2 public: 3 bool exist(vector>& board, string word) { 4 int m = board.size(), n... 阅读全文