码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
Linked List Cycle
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?/** * Definition for singly-linked list. *...
分类:其他好文   时间:2015-05-05 15:49:17    阅读次数:115
linux下各种代理的设置
Set up your proxy. The bellow proxies as follow: (1) http-proxy: proxy.xxx.com port: 911(3) socks5-proxy: proxy.xxx.com port: 1080Set the bash proxy e...
分类:系统相关   时间:2015-05-05 14:21:52    阅读次数:420
openstack 开发step-by-step
Set up your Open Stack There are several ways to deploy openstack, Devstack is easily for developer to deploy Open Stack.Please follow this URL to set...
分类:其他好文   时间:2015-05-05 14:12:00    阅读次数:882
LeetCode Binary Tree Level Order Traversal II
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 example: Given binary tree {3,9,20,#,#,15,7}, ...
分类:其他好文   时间:2015-05-05 10:40:01    阅读次数:113
POJ 3087 Shuffle'm Up
Shuffle'm Up Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 6625   Accepted: 3105 Description A common pastime for poker players at a poker table is to shuf...
分类:其他好文   时间:2015-05-05 08:56:03    阅读次数:101
Path Sum
https://leetcode.com/problems/path-sum/Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values...
分类:其他好文   时间:2015-05-05 01:15:10    阅读次数:184
poj 杂题 - 1013 Counterfeit Dollar
判断硬币题。这道题目没咋知道怎么做,看了其他人的discuss才有了思路。 一,EVEN时,两边都是真币 二,非EVEN时,没上天平的都是真币 三,曾经被认为可能偏重,又出现在偏轻的一方的是真币。 我们可以用一个数组zeros存储一定是真币,即出现在even情况内的那些;另一个数组sus存储对可能是假币的怀疑情况,当出现在up时,左边的硬币sus--,右边的++。down时反过来,这样...
分类:其他好文   时间:2015-05-04 22:11:02    阅读次数:127
leetcode 189 Rotate Array
Rotate an array of n elements to the right by k steps.For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4]. Note: Try to come up as many solutions as you can, th...
分类:其他好文   时间:2015-05-04 22:10:52    阅读次数:100
OSC点赞神器
function?makeLove()?{ ??var?ups?=?$(".fa-thumbs-o-up"); ??for?(var?i?=?0,len?=?ups.length;i?<?len;?i++)?{ ????makeAsLove(ups[i]); ??} } makeLove(); function?ajax_get(the_...
分类:其他好文   时间:2015-05-04 20:30:14    阅读次数:125
[LeetCode] Binary Tree Level Order Traversal II
Binary Tree Level Order Traversal II 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 examp...
分类:其他好文   时间:2015-05-04 20:14:35    阅读次数:182
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!