剪枝
文章平均质量分 79
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 306. Additive Number(加法的数字)
原题网址:https://leetcode.com/problems/additive-number/ Additive number is a string whose digits can form additive sequence. A valid additive sequence should contain at least three numbers. Except原创 2016-04-20 01:13:12 · 846 阅读 · 0 评论 -
LeetCode 37. Sudoku Solver(数读游戏)
原题网址:https://leetcode.com/problems/sudoku-solver/ Write a program to solve a Sudoku puzzle by filling the empty cells. Empty cells are indicated by the character '.'. You may assume that th原创 2016-05-20 10:40:25 · 409 阅读 · 0 评论 -
LeetCode 87. Scramble String(字符串扰乱)
原题网址:https://leetcode.com/problems/scramble-string/ Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively. Below is one possible原创 2016-05-23 00:34:32 · 1602 阅读 · 0 评论