Use the following method printPrimes() for questions a-d below. 1. /** ***************************************************** 2. * Finds and prints n p ...
分类:
其他好文 时间:
2016-03-29 23:49:01
阅读次数:
260
笨人用笨办法,要求熟记,默写,必须做到。 第一部分、计算机算法常用术语中英对照Data Structures 基本数据结构 Dictionaries 字典 Priority Queues 堆 Graph Data Structures 图 Set Data Structures 集合 Kd-Tree ...
分类:
其他好文 时间:
2016-03-29 14:27:37
阅读次数:
343
高数, 基本的概率统计- 基本数据结构 能用JS写出linked list, stack, queue, (binary)tree, graph, hashtable么?- 基本算法 能用JS实现各种search(linear, binary..), 各种sort(bubble, insertion ...
分类:
其他好文 时间:
2016-03-29 00:55:17
阅读次数:
191
Given a graph (V,E) where V is a set of nodes and E is a set of arcs in VxV, and an ordering on the elements in V, then the bandwidth of a node v is d ...
分类:
其他好文 时间:
2016-03-29 00:45:54
阅读次数:
245
这些天搞了下Facebook API的东东,在官方网站下弄了一些接口,下面简单的把facebook的调用流程以及常用接口书序一下 :-) 当然在使用facebook api之前要有facebook账号以及在facebook上注册一个自己的应用 1.登录鉴权 https://graph.faceboo ...
分类:
Windows程序 时间:
2016-03-26 23:37:44
阅读次数:
4183
<!--?xml version="1.0" encoding="UTF-8" standalone="no"?--> Flat coloring(单色) 是通知OpenGL使用单一的颜色来渲染,OpenGL将一直使用指定的颜色来渲染直到你指定其它的颜色。 指定颜色的方法为 public abstr ...
分类:
移动开发 时间:
2016-03-24 16:18:34
阅读次数:
235
Given n nodes labeled from 0 to n - 1 and a list of undirected edges (each edge is a pair of nodes), write a function to check whether these edges mak
分类:
其他好文 时间:
2016-03-23 13:09:11
阅读次数:
175
原题链接在这里:https://leetcode.com/problems/minimum-height-trees/ 题目: For a undirected graph with tree characteristics, we can choose any node as the root.
分类:
其他好文 时间:
2016-03-21 13:48:16
阅读次数:
165
cacti我们也用了很久了,但是它的表结构一直都没有去关心过,得空抽了半个晚上的时间,把它的库表结构大概看了下,某些字段的含义跟大家分享下:cacti的数据都是存放在rrdtool中的,数据库存放的其实只是配置数据,cacti的逻辑对象主要分为三种,data(数据)、graph(图片)、host(设...
分类:
其他好文 时间:
2016-03-18 19:49:53
阅读次数:
226
一、OGNL表达式 a)什么是OGNL? OGNL是Object-Graph Navigation Language的缩写,它是一种功能强大的表达式语言, 通过它简单一致的表达式语法。主要功能: 它使用相同的表达式去存取对象的属性。这样可以更好的取得数据。 b)OGNL与Struts2 OGNL是独
分类:
其他好文 时间:
2016-03-17 16:17:55
阅读次数:
328