码迷,mamicode.com
首页 >  
搜索关键字:nodes    ( 4030个结果
Method and Apparatus for Providing Highly-Scalable Network Storage for Well-Gridded Objects
An apparatus comprising a plurality of storage nodes comprising a plurality of corresponding storage disks and configured to store data in a distribut...
分类:移动开发   时间:2014-08-07 03:01:28    阅读次数:456
[LeetCode 题解]: Reverse Nodes in K-Groups
Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen left-o...
分类:其他好文   时间:2014-08-07 00:37:17    阅读次数:187
[LeetCode 题解]: Binary Tree Preorder Traversal
Given a binary tree, return thepreordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,2,3].Not...
分类:其他好文   时间:2014-08-07 00:15:17    阅读次数:187
LeetCode "Reverse Nodes in k-Group"
Another list manipulation problem.class Solution {public: ListNode *reverseKGroup(ListNode *head, int k) { if (!head) return head; if...
分类:其他好文   时间:2014-08-06 06:14:10    阅读次数:232
uva193 - Graph Coloring
Graph Coloring You are to write a program that tries to find an optimal coloring for a given graph. Colors are applied to the nodes of the graph and t...
分类:其他好文   时间:2014-08-05 13:31:49    阅读次数:215
Leetcode_Validate Binary Search Tree
Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key.Th...
分类:其他好文   时间:2014-08-05 09:43:39    阅读次数:191
Binary Tree Level Order Traversal leetcode java
题目:Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).For example:Given binary tree....
分类:编程语言   时间:2014-08-05 05:18:28    阅读次数:242
Binary Tree Level Order Traversal II leetcode java
题目:Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).F....
分类:编程语言   时间:2014-08-05 05:18:08    阅读次数:340
Binary Tree ZigZag Level Order Traversal leetcode java
题目:Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level ....
分类:编程语言   时间:2014-08-05 05:17:38    阅读次数:311
LeetCode第四题,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 numbers and return it ...
分类:其他好文   时间:2014-08-05 00:51:58    阅读次数:257
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!