回溯
Charles-Liu
这个作者很懒,什么都没留下…
展开
-
Binary Watch
[leetcode]Binary Watch 链接:https://leetcode.com/problems/binary-watch/description/ Question A binary watch has 4 LEDs on the top which represent the hours (0-11), and the 6 LEDs on the bottom repr...原创 2018-08-06 22:32:39 · 124 阅读 · 0 评论 -
Word Search
[leetcode]Word Search 链接:https://leetcode.com/problems/word-search/description/ Question Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letter...原创 2018-08-07 22:34:00 · 93 阅读 · 0 评论 -
Restore IP Addresses
[leetcode]Restore IP Addresses 链接:https://leetcode.com/problems/restore-ip-addresses/description/ Question Given a string containing only digits, restore it by returning all possible valid IP add...原创 2018-08-07 22:33:41 · 70 阅读 · 0 评论 -
Additive Number
[leetcode]Additive Number 链接:https://leetcode.com/problems/additive-number/description/ Question Additive number is a string whose digits can form additive sequence. A valid additive sequence sh...原创 2018-08-07 22:29:54 · 117 阅读 · 0 评论 -
Increasing Subsequences
[leetcode]Increasing Subsequences 链接:https://leetcode.com/problems/increasing-subsequences/description/ Question Given an integer array, your task is to find all the different possible increasing...原创 2018-08-11 22:20:37 · 77 阅读 · 0 评论 -
Split Array into Fibonacci Sequence
[leetcode]Split Array into Fibonacci Sequence 链接:https://leetcode.com/problems/split-array-into-fibonacci-sequence/description/ Question Given a string S of digits, such as S = "123456579", we ca...原创 2018-08-14 22:11:07 · 186 阅读 · 0 评论 -
Restore IP Addresses
[leetcode]Restore IP Addresses 链接:https://leetcode.com/problems/restore-ip-addresses/description/ Question Given a string containing only digits, restore it by returning all possible valid IP add...原创 2018-08-14 22:09:32 · 89 阅读 · 0 评论 -
Gray Code
[leetcode]Gray Code 链接:https://leetcode.com/problems/gray-code/description/ Question The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-nega...原创 2018-08-06 22:34:06 · 114 阅读 · 0 评论 -
Combination Sum
[leetcode]Combination Sum 链接:https://leetcode.com/problems/combination-sum/description/ Question Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), f...原创 2018-08-06 22:33:02 · 74 阅读 · 0 评论 -
Partition to K Equal Sum Subsets
[leetcode]Partition to K Equal Sum Subsets 链接:https://leetcode.com/problems/partition-to-k-equal-sum-subsets/description/ Question Given an array of integers nums and a positive integer...原创 2018-08-12 21:56:34 · 150 阅读 · 0 评论