详见:http://blog.sciencenet.cn/home.php?mod=space&uid=830496&do=blog&id=676326交叉验证(Cross-Validation):有时亦称循环估计, 是一种统计学上将数据样本切割成较小子集的实用方法。于是可以先在一个子集上做分析, ...
分类:
其他好文 时间:
2015-07-31 23:28:42
阅读次数:
252
Refers toDynamic Sampling and Rendering of Algebraic Point Set SurfacesGrowing Least Squares for the Analysis of Manifolds in Scale-Space
分类:
其他好文 时间:
2015-07-31 23:27:41
阅读次数:
188
Given a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(n) time and O(1) space?思想:转置后半段链表节点,然后比较前半段和后半段节点的值是否相等。代码如...
分类:
其他好文 时间:
2015-07-31 19:54:03
阅读次数:
109
大家都是从eclipse转过来了,所以早就熟悉了eclipse那一套快捷键。File—>settings—>keymap–>选择eclipse就搞定话是这么说,但是自动化提示的变了Ctrl+Alt+Space。熟悉了alt+/后很不适应,我们可以修改1, 搜索Class Name Completio...
分类:
移动开发 时间:
2015-07-31 18:04:35
阅读次数:
149
Given a singly linked list, determine if it is a palindrome.
Follow up:
Could you do it in O(n) time and O(1) space?
实现;
bool isPalindrome(ListNode* head) {
if (head == NULL || he...
分类:
其他好文 时间:
2015-07-31 13:11:34
阅读次数:
115
Question: Given an Integer, you need to determine if it is a palindrome or not. You should not use any extra space in the process.Input: 121Output: Pa...
分类:
其他好文 时间:
2015-07-31 12:31:03
阅读次数:
132
一、对于div强制换行1.(IE浏览器)white-space:normal; word-break:break-all;这里前者是遵循标准。#wrap{white-space:normal; width:200px; }或者#wrap{word-break:break-all;width:200p...
分类:
其他好文 时间:
2015-07-31 12:14:29
阅读次数:
101
?One Line of Working Code Is Worth 500 of SpecificationAllison RandaldESign iS A BEAuTiFul THing. A systematic, detailed presentation and review of a problem space and solution reveals errors and oppor...
分类:
其他好文 时间:
2015-07-31 10:44:07
阅读次数:
118
【058-Length of Last Word (最后一个单词的长度)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题 Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the...
分类:
编程语言 时间:
2015-07-31 07:51:19
阅读次数:
149
Given a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(n) time and O(1) space?先找到链表中点,将第二部分反转,然后比较两部分链表的值。/** * De...
分类:
其他好文 时间:
2015-07-31 06:36:32
阅读次数:
91