全局唯一标识符(GUID,Globally Unique Identifier) 也称作 UUID(Universally Unique IDentifier) 。GUID是一种由算法生成的二进制长度为128位的数字标识符。GUID主要用于在拥有多个节点、多台计算机的网络或系统中。在理想情况下,任....
分类:
其他好文 时间:
2014-06-28 17:15:02
阅读次数:
174
题目:Binary Tree Level Order Traversal i iii和ii的差别仅在于最后将结果逆序一下就行了,算法上基本相同个人思路:1、二叉树的层次遍历,我们一层一层地处理,用一个队列(A队列)将每一层的所有节点按照从左到右的顺序入队2、待该队列的所有节点都出队,并且用另外一个队...
分类:
其他好文 时间:
2014-06-28 17:01:33
阅读次数:
235
A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any point ...
分类:
其他好文 时间:
2014-06-28 16:02:43
阅读次数:
214
Given n, how many structurally unique BST's (binary search trees) that store values 1...n?For example, Given n = 3, there are a total of 5 unique BST'...
分类:
其他好文 时间:
2014-06-28 11:57:50
阅读次数:
232
微软近期Open的职位:MSIT Dynamics CRM Software Developer (SDE, Microsoft China, Beijing)Are you interested in shaping the future vision of how we implement Dy...
分类:
其他好文 时间:
2014-06-24 09:15:35
阅读次数:
302
I:本博文代码示例效果图好久没来写随笔了.不多说先上大饼!跟着直接上 [代码下载地址]II:ASP.NET 资源文件介绍在ASP.NET特殊文件夹内有那么两个不太引人注意,他们分别是App_GlobalResources, App_LocalResources.资源文件命名规则: {文件名}.{区域...
分类:
Web程序 时间:
2014-06-24 08:51:33
阅读次数:
374
今天在进行代码检查的时候出现下面的异常:1 type parameters of T cannot be determined; no unique maximal instance exists for type variable T with upper bounds int,java.lang...
分类:
编程语言 时间:
2014-06-23 08:05:13
阅读次数:
381
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; *...
分类:
其他好文 时间:
2014-06-22 23:59:58
阅读次数:
244
相信不少人遇到过ORA-02429: cannot drop index used for enforcement of unique /primary key 这个错误,对应的中文提示“ORA-02429: 无法删除用于强制唯一/主键的索引”,其实从错误提示信息已经很明显了。下面还是用一个简单的例...
分类:
其他好文 时间:
2014-06-21 14:04:25
阅读次数:
297
PHP两种去掉数组重复值的方法,分别使用foreach方法和array_unique方法。去除一个数组中的重复值,可以使用foreach方法,也可以使用array_unique方法。";$intStart1 = time();$arrRS = array_unique($arrT);$intEnd2...
分类:
Web程序 时间:
2014-06-20 14:21:55
阅读次数:
225