- 博客(6)
- 资源 (5)
- 收藏
- 关注
原创 动态规划解174Dice Possibility
题目描述What is possibility of rolling N dice and the sum of the numbers equals to M?输入Two integers N and M. (1 ≤ N ≤ 100, 1 ≤ M ≤ 600)输出Output the possibility in percentage with 2 decimal places.样例输入2 8样例
2017-10-30 23:02:45 193
原创 274. H-Index解题报告
题目Given an array of citations (each citation is a non-negative integer) of a researcher, write a function to compute the researcher’s h-index.According to the definition of h-index on Wikipedia: “A sci
2017-10-24 20:55:08 274
原创 并查集解1335 : Email Merge(hihocoder)
题目描述You are given a list of usernames and their email addresses in the following format:alice 2 alice@hihocoder.com alice@gmail.combob 1 bob@qq.comalicebest 2 alice@gmail.com alice@qq.com alice2016 1 a
2017-10-16 20:56:35 523
原创 人工智能:模拟退火初始温度值的计算
1.模拟退火法简介模拟退火法是一种状态空间的局部搜索算法,它属于比较通用的寻找最优解的算法。模拟退火算法从某一较高初温出发,伴随温度参数的不断下降,结合概率突跳特性在解空间中随机寻找目标函数的全局最优解,即在局部最优解能概率性地跳出并最终趋于全局最优。2.模拟退火法算法描述function Simulated-Annealing(problem, schedule) returns a soluti
2017-10-12 01:47:32 13032
原创 拓扑排序解210. Course Schedule II
题目There are a total of n courses you have to take, labeled from 0 to n - 1.Some courses may have prerequisites, for example to take course 0 you have to first take course 1, which is expressed as a pai
2017-10-11 15:28:09 175
原创 209. Minimum Size Subarray Sum解题报告
题目Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ≥ s. If there isn’t one, return 0 instead.For example, given the arra
2017-10-10 21:21:04 447
无监督学习方法以及应用
2018-06-03
图灵程序设计丛书 机器学习 弗拉赫
2018-05-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人