摘要:
Given two words (start and end), and a dictionary, find the length of shortest transformation sequence from start to end, such that:Only one letter can be changed at a timeEach intermediate word must exist in the dictionaryFor example,Given:start = "hit"end = "cog"dict = ["h 阅读全文
posted @ 2013-08-04 22:29
冰点猎手
阅读(182)
评论(0)
推荐(0)
摘要:
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 =[ [ 阅读全文
posted @ 2013-08-04 21:36
冰点猎手
阅读(192)
评论(0)
推荐(0)

浙公网安备 33010602011771号