高数, 基本的概率统计- 基本数据结构 能用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
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
最近我在用图形数据库来完成对一个初创项目的支持。在使用过程中觉得这种图形数据库实际上挺有意思的。因此在这里给大家做一个简单的介绍。 NoSQL数据库相信大家都听说过。它们常常可以用来处理传统的关系型数据库所难以解决的一系列问题。通常情况下,这些NoSQL数据库分为Graph,Document,Col
分类:
数据库 时间:
2016-03-16 07:02:30
阅读次数:
329
Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. 思路: 分为两步 1. BFS,新建所有图中的node,用一个HashMap建立原来node和新的node之
分类:
其他好文 时间:
2016-03-15 13:43:02
阅读次数:
174
I.graph II.binary search 重在 begin=mid; end=mid; begin=mid+1; end=mid-1; if(begin<end) if(begin<=end)的选择上。
分类:
编程语言 时间:
2016-03-13 22:28:07
阅读次数:
299