上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 20 下一页
摘要: 题目: Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each 阅读全文
posted @ 2017-05-17 22:11 Vincent丶丶 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same re 阅读全文
posted @ 2017-05-17 21:58 Vincent丶丶 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. Exampl 阅读全文
posted @ 2017-05-17 21:24 Vincent丶丶 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 题目: 题解: Solution 1 () Solution 1.2 Solution 2 () Bit Manipulation This is the most clever solution that I have seen. The idea is that to give all the 阅读全文
posted @ 2017-05-17 19:21 Vincent丶丶 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 题目: Given a list of numbers that may has duplicate numbers, return all possible subsets Notice Each element in a subset must be in non-descending orde 阅读全文
posted @ 2017-05-17 11:05 Vincent丶丶 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 题目: Follow up for N-Queens problem. Now, instead outputting board configurations, return the total number of distinct solutions. Example For n=4, ther 阅读全文
posted @ 2017-05-16 21:08 Vincent丶丶 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 题目: The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return 阅读全文
posted @ 2017-05-16 20:53 Vincent丶丶 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 题目: The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an integer n, return 阅读全文
posted @ 2017-05-16 20:50 Vincent丶丶 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 题目: Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. How we serialize an undirected graph: Nodes are la 阅读全文
posted @ 2017-05-15 22:21 Vincent丶丶 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 题目: Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the 阅读全文
posted @ 2017-05-14 21:14 Vincent丶丶 阅读(167) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 20 下一页