斯坦福大学机器学习公开课学习—1.机器学习的动机与应用介绍了课程主要内容包含以下4点1.supervised learning(监督学习)2.learning theory(学习理论)3.unsupervised learning(非监督学习)4.reinforcement le...
分类:
其他好文 时间:
2015-04-08 22:58:34
阅读次数:
207
14256. Pseudo Semiprime
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
In number theory, a positive integer is a semiprime if it is the product of two primes. For example, 35 i...
分类:
其他好文 时间:
2015-04-08 09:13:44
阅读次数:
108
题意:求一个数组中的组合为某个target的所有子数组组合,要求不重复,
思路:先将数组排序,然后按深度遍历的思想对i - > len -1的元素进行遍历
代码如下:
public class Solution {
public List> combinationSum(int[] candidates, int target) {
List> results = n...
分类:
其他好文 时间:
2015-04-07 23:33:43
阅读次数:
325
Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated num...
分类:
其他好文 时间:
2015-04-04 14:57:18
阅读次数:
106
题目链接:restore-ip-addresses
import java.util.ArrayList;
import java.util.List;
/**
*
Given a string containing only digits,
restore it by returning all possible valid IP address combination...
分类:
其他好文 时间:
2015-04-04 09:14:43
阅读次数:
113
Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated num...
分类:
其他好文 时间:
2015-04-04 06:38:53
阅读次数:
143
练习4-6原文Exercise 4.6. Let expressions are derived expressions, because
(let (( ) … ( )) )
is equivalent to
((lambda ( … ) ) )
Implement a syntactic transformation let->combination that reduces...
分类:
其他好文 时间:
2015-04-01 09:35:32
阅读次数:
153
renewable engergy:WindsolarTidalWaveOceanBioEtc.How much energy we gonna need as following years:The unit is of Tera Watts.And how much we can get fro...
分类:
其他好文 时间:
2015-03-31 14:34:08
阅读次数:
162
题目链接:permutations
相似题型:
1. [LeetCode 39&40] Combination Sum I & II
2. [LeetCode 78] Subsets
3. [LeetCode 90] Subsets II
4. [LeetCode 22] Generate Parentheses
5. [LeetCod...
分类:
其他好文 时间:
2015-03-30 09:39:01
阅读次数:
165
题目链接:combinations
相似题型:
1. [LeetCode 39&40] Combination Sum I & II
2. [LeetCode 78] Subsets
3. [LeetCode 90] Subsets II
4. [LeetCode 22] Generate Parentheses
import java.util.A...
分类:
其他好文 时间:
2015-03-29 15:09:43
阅读次数:
153