原题地址:https://oj.leetcode.com/problems/populating-next-right-pointers-in-each-node/题意:
1 / \ 2 3 / \ / \ 4 5 6 7变为: ...
分类:
编程语言 时间:
2014-05-26 23:43:29
阅读次数:
332
原题地址:https://oj.leetcode.com/problems/copy-list-with-random-pointer/题意:A
linked list is given such that each node contains an additional random pointe...
分类:
编程语言 时间:
2014-05-26 23:16:12
阅读次数:
368
http://www.docin.com/p-111227070.htmlJava mina和c++
ace做socket长连接 测试报告:http://www.iteye.com/problems/44682c++ RTMP server
做流媒体的流媒体研究博客:http://www.cnblo...
分类:
其他好文 时间:
2014-05-26 15:37:06
阅读次数:
249
原题地址:https://oj.leetcode.com/problems/recover-binary-search-tree/题意:Two
elements of a binary search tree (BST) are swapped by mistake.Recover the
tree...
分类:
编程语言 时间:
2014-05-26 13:25:43
阅读次数:
261
原题地址:https://oj.leetcode.com/problems/validate-binary-search-tree/题意:检测一颗二叉树是否是二叉查找树。解题思路:看到二叉树我们首先想到需要进行递归来解决问题。这道题递归的比较巧妙。让我们来看下面一棵树:
...
分类:
编程语言 时间:
2014-05-26 10:48:19
阅读次数:
291
原题地址:https://oj.leetcode.com/problems/same-tree/题意:判断两棵树是否是同一棵树。解题思路:这题比较简单。用递归来做。首先判断两个根节点的值是否相同,如果相同,递归判断根的左右子树。代码:#
Definition for a binary tree n....
分类:
编程语言 时间:
2014-05-26 10:30:17
阅读次数:
289
原题地址:https://oj.leetcode.com/problems/symmetric-tree/题意:判断二叉树是否为对称的。Given
a binary tree, check whether it is a mirror of itself (ie, symmetric around ...
分类:
编程语言 时间:
2014-05-26 10:18:52
阅读次数:
293
Background
Many problems in Computer Science involve maximizing some measure according to constraints.
Consider a history exam in which students are asked to put several historical events into chr...
分类:
其他好文 时间:
2014-05-23 00:14:42
阅读次数:
386
In the previous section we saw how to use
vectors to solve geometry problems. Now we are going to learn how to use some
basic linear algebra to do lin...
分类:
其他好文 时间:
2014-05-22 04:17:01
阅读次数:
549
原文:SQL Server 在多个数据库中创建同一个存储过程(Create Same
Stored Procedure in All
Databases)一.本文所涉及的内容(Contents)本文所涉及的内容(Contents)背景(Contexts)遇到的问题(Problems)实现代码(SQL...
分类:
数据库 时间:
2014-05-15 15:35:56
阅读次数:
497