摘要: Word Ladder IIGiven two words (startandend), and a dictionary, find all shortest transformation sequence(s) fromstarttoend, such that:Only one letter ... 阅读全文
posted @ 2015-01-21 22:21 H5开发技术 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Surrounded RegionsGiven a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is captured by flipping all'O's into'X's in that... 阅读全文
posted @ 2015-01-21 20:46 H5开发技术 阅读(212) 评论(0) 推荐(0) 编辑