码迷,mamicode.com
首页 >  
搜索关键字:nodes    ( 4030个结果
Leetcode dfs Binary Tree Postorder Traversal
Binary Tree Postorder Traversal  Total Accepted: 28560 Total Submissions: 92333My Submissions Given a binary tree, return the postorder traversal of its nodes' values. For example: Given...
分类:其他好文   时间:2014-09-05 16:09:01    阅读次数:172
leetcode - Reverse Nodes in k-Group
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-09-05 12:53:01    阅读次数:260
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-09-05 05:31:40    阅读次数:176
json格式在ruby和rails中的注意事项
#虚拟网络拓扑的json数据 def topodata #@vnic = Vnic.all #flash.now[:notice] = 'Message sent!' #flash.now[:alert] = 'Message sent!' simple_json = { nodes:...
分类:Web程序   时间:2014-09-04 16:42:29    阅读次数:299
json flash.now[:notice] flash.now[:alert]
#虚拟网络拓扑json数据 def topodata #@vnic = Vnic.all #flash.now[:notice] = 'Message sent!' #flash.now[:alert] = 'Message sent!' @vnic = { nodes: [{ name...
分类:Web程序   时间:2014-09-04 01:32:07    阅读次数:240
Binary Tree Level Order Traversal II <leetcode>
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).For e...
分类:其他好文   时间:2014-09-03 21:13:57    阅读次数:142
Binary Tree Postorder Traversal
问题描述 Given a binary tree, return the postorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return [3,2,1]. Note: Recur...
分类:其他好文   时间:2014-09-02 21:23:55    阅读次数:317
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...
分类:其他好文   时间:2014-09-02 19:57:55    阅读次数:166
Binary Tree Preorder Traversal
问题描述 Given a binary tree, return the preorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return [1,2,3]. Note: Recurs...
分类:其他好文   时间:2014-09-02 17:50:45    阅读次数:136
OPStackComputeNodeMaintain
1,yum -y install openstack-nova-compute计算节点配置完成后 其配置文件默认非注释行内容如下;2,Ruiy手动部署如下endpoint的nova配置文件配置如上endpoint的具体novainone配置openstack 计算节点(compute nodes)b...
分类:其他好文   时间:2014-09-02 17:28:45    阅读次数:298
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!