码迷,mamicode.com
首页 >  
搜索关键字:nodes    ( 4030个结果
把一个完全图分成两部分
A university network is composed of N computers. System administrators gathered information on the traffic between nodes, and carefully divided the ne...
分类:其他好文   时间:2014-05-26 21:07:48    阅读次数:329
[LeetCode] [Partition List 2012-04-30]
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.You should preserve the o...
分类:其他好文   时间:2014-05-26 09:35:28    阅读次数:266
[LeetCode]Swap Nodes in Pairs
Swap Nodes in Pairs...
分类:其他好文   时间:2014-05-22 23:55:33    阅读次数:390
[LeetCode]Reverse Nodes in k-Group
Reverse Nodes in k-Group...
分类:其他好文   时间:2014-05-22 18:35:48    阅读次数:225
Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:其他好文   时间:2014-05-22 16:05:56    阅读次数:239
【Leetcode】Partition List
Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preserve the origi...
分类:其他好文   时间:2014-05-22 03:53:29    阅读次数:313
35.两链表的第一个公共结点
Find common nodes of 2 linked list.
分类:其他好文   时间:2014-05-22 00:10:17    阅读次数:241
【Leetcode】Remove Duplicates from Sorted List II
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving onlydistinctnumbers from the original list.For example,Given1->2->3-...
分类:其他好文   时间:2014-05-21 17:51:09    阅读次数:190
Is It A Tree?------HDOJ杭电1325(两种方法,可以用也可以不用并查集!!!!!!详解)
Problem Description A tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed edges between nodes satisfying the follow...
分类:其他好文   时间:2014-05-21 10:55:57    阅读次数:325
leetcode -day20 Add Two Numbers
1、 ?? Add Two Numbers  You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two num...
分类:其他好文   时间:2014-05-21 10:49:10    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!