- 记下一些关于运算符的小技巧或容易出错的地方 %运算符 取余运算符运算结果的正负号由第一个运算子的正负号决定,比如: 1 -1 % 2 // -1 2 1 % -2 // 1 所以有时候对负数取余会出现错误,使用绝对值函数可以避免错误: // 会出错 function isOdd(n) { ret
分类:
其他 时间:
2016-01-29 11:31:36
收藏:
0 评论:
0 赞:
0 阅读:
180
http://docs.ngnice.com/guide/ http://angularjs-doc.qiniudn.com/docs/api 英语镜像 它的创新之处在于,通过数据绑定和依赖注入减少了大量代码,而这些都在浏览器端通过JavaScript实现,能够和任何服务器端技术完美结合。 1、双向
分类:
其他 时间:
2016-01-29 11:31:26
收藏:
0 评论:
0 赞:
0 阅读:
207
Preorder class Solution { public: vector<int> preorderTraversal(TreeNode* root) { vector<int> res; if (!root) return res; stack<TreeNode *> sta; sta.p
分类:
其他 时间:
2016-01-29 11:31:16
收藏:
0 评论:
0 赞:
0 阅读:
174
1. 什么是ElasticSearch? ElasticSearch is a powerful open source search and analytics engine that makes data easy to explore. 可以简单理解成索引加检索的工具,当然它功能多于此。Ela
分类:
其他 时间:
2016-01-29 11:31:06
收藏:
0 评论:
0 赞:
0 阅读:
292
.half { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '?'); } .full { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.
分类:
其他 时间:
2016-01-29 11:30:56
收藏:
0 评论:
0 赞:
0 阅读:
174
怎么说呢 这题就是个模板题 但是 hud你妹夫啊说好的只有一组数据呢??? 嗯??? wa到家都不认识了好吗 #include <cstdio> #include <cstring> #include <queue> #include <vector> #include <algorithm> #d
分类:
其他 时间:
2016-01-29 08:43:58
收藏:
0 评论:
0 赞:
0 阅读:
198
Given a binary tree, return the preorder traversal of its nodes' values. For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3 return [1,2,3]. 思路:递归和迭代。
分类:
其他 时间:
2016-01-29 08:43:46
收藏:
0 评论:
0 赞:
0 阅读:
147
Resist the Temptation of the Singleton Pattern Sam Saariste THE SiNGLETON PATTERN SOLVES MANY OF YOUR PROBLEMS. You know that you only need a single i
分类:
其他 时间:
2016-01-29 08:43:26
收藏:
0 评论:
0 赞:
0 阅读:
135
1、错误描写叙述 属性“dataProvider”有多个初始值设定项。(注意:“dataProvider”是“mx.charts.BarChart”的默认属性)。 2、错误原因 <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:f
分类:
其他 时间:
2016-01-29 08:43:06
收藏:
0 评论:
0 赞:
0 阅读:
291
Alignment Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 13319 Accepted: 4282 Description In the army, a platoon is composed by n soldiers
分类:
其他 时间:
2016-01-29 08:42:06
收藏:
0 评论:
0 赞:
0 阅读:
246
Using DFS to traverse the node and build the a tree. for a node, it has following properties: If its a left child node of its parent, then the left bo
分类:
其他 时间:
2016-01-29 08:41:26
收藏:
0 评论:
0 赞:
0 阅读:
153
(You Can Hack It, Architecture and Design) => { Dependency Injection; MEF sample; }
分类:
其他 时间:
2016-01-29 08:40:57
收藏:
0 评论:
0 赞:
0 阅读:
205
参考教材:《分子动力学的理论与实践》陈正隆 【势能面】单个分子或者极少的多分子的能量与结构的计算核心是势能面(PES)。势能面的实质是体系能量对各个自由度的高维向量/函数。势能面上的局部极小点表示局部的稳定构象;鞍点表示过渡态。 【自由度】主要的自由度有分子内键长(键伸缩)、键角(键弯曲)、二面角(...
分类:
其他 时间:
2016-01-29 08:40:46
收藏:
0 评论:
0 赞:
0 阅读:
231
Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and
分类:
其他 时间:
2016-01-29 08:40:36
收藏:
0 评论:
0 赞:
0 阅读:
241
Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a binary tree in which the dept
分类:
其他 时间:
2016-01-29 08:40:06
收藏:
0 评论:
0 赞:
0 阅读:
166
Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return: [ ["ate", "eat","tea"], ["
分类:
其他 时间:
2016-01-29 08:39:56
收藏:
0 评论:
0 赞:
0 阅读:
190
gcd(a, b),就是求a和b的最大公约数 lcm(a, b),就是求a和b的最小公倍数 然后有个公式 a*b = gcd * lcm ( gcd就是gcd(a, b), ( ????? ) 简写你懂吗) 解释(不想看就跳过){ 首先,求一个gcd,然后。。。 a / gcd 和 b / gcd
分类:
其他 时间:
2016-01-29 08:39:47
收藏:
0 评论:
0 赞:
0 阅读:
255
移动app成功的关键在于市场营销和产品设计,数据分析与挖掘解决的核心就是市场营销过程中的客户定位和产品设计过程中的用户体验改善。向目标用户提供所需的产品和服务,是...
分类:
其他 时间:
2016-01-29 03:58:46
收藏:
0 评论:
0 赞:
0 阅读:
235
Pacemaker通过调用各个resource agent提供的操作(比如start,stop)实现对资源的控制,当这个方法执行出错时,Pacemaker会根据执行的操作和错误类型进行不同的错误处理。
分类:
其他 时间:
2016-01-29 03:58:21
收藏:
0 评论:
0 赞:
0 阅读:
889
ETL、数据仓库、建仓
分类:
其他 时间:
2016-01-29 03:57:21
收藏:
0 评论:
0 赞:
0 阅读:
241