摘要: Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example,If n = 4 and k = 2, a solution is: 分析: 组合的实现,之前实 阅读全文
posted @ 2017-01-04 23:01 WillWu 阅读(117) 评论(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 "adjac 阅读全文
posted @ 2017-01-04 21:18 WillWu 阅读(192) 评论(0) 推荐(0) 编辑