摘要:
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... 阅读全文
posted @ 2015-08-18 10:58
jianchao-li
阅读(3487)
评论(0)
推荐(1)
摘要:
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... 阅读全文
posted @ 2015-08-18 00:11
jianchao-li
阅读(222)
评论(0)
推荐(0)

浙公网安备 33010602011771号