码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
LeetCode(1) Two Sum
题目: Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to the ta...
分类:其他好文   时间:2015-04-23 21:49:00    阅读次数:153
Rotate Image
题目:You are given an n x n 2D matrix represengting an image.Rotate the image by 90 degrees(clockwise).Follow up:Could you do this in-place?给定一副由 N * N ...
分类:其他好文   时间:2015-04-23 21:41:56    阅读次数:138
Java for LeetCode 001 Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:编程语言   时间:2015-04-23 21:19:09    阅读次数:138
python11:函数
当你需要编写大型程序时,你可能想要写一段代码供其它地方调用,或者将程序中的相同逻辑抽出来,这时你就需要用到函数。但函数不仅能提供这些功能,通过使用函数还能帮助我们更容易的理解代码。 定义函数 下面的代码定义了一个函数fib,用于计算Fibonacci数列: >>> def fib(n): """Print a Fibonacci series up to n.""" a,...
分类:编程语言   时间:2015-04-23 15:41:54    阅读次数:187
在给定数组中,找出最先满足两个数的和等于给定数,输出这两个元素的下表
leetcode上的一道题目,虽然不难,但是考察了数据结构中很多的知识Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum ...
分类:编程语言   时间:2015-04-23 12:52:25    阅读次数:175
leetcode || 107、Binary Tree Level Order Traversal II
problem: 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...
分类:其他好文   时间:2015-04-23 11:02:24    阅读次数:163
POJ 2236Wireless Network (并查集)
Description An earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wireless network with the lap computers, but an unexpected aftershock attacked, all c...
分类:Web程序   时间:2015-04-23 09:43:08    阅读次数:142
linux 注销其他用户
本文主要参考:http://ysz520020.blog.163.com/blog/static/352595722011969264745 linux kill掉其他的登录用户 :方法一:使用w查看有多少个用户在登陆,结果如下:01:52:52 up 18 min, 3 use...
分类:系统相关   时间:2015-04-22 20:36:33    阅读次数:186
【Android-功能】Android应用增量更新
很久没有更新博客了,真是堕落啊,几次想提起笔,却总是被各种琐事耽搁,以后会多写文章记录点滴。背景 随着android应用体积的不断增大,以及应用版本发布的不断更迭,用户的升级成了一个问题,google也意识到不断更新应用对用户流量的损耗,在Google I/O 上提及的 Smart App up.....
分类:移动开发   时间:2015-04-22 20:22:27    阅读次数:366
jquery插件封装思路整理
写插件的栗子 干前端两年了,第一次自己试着封装小插件,虽然有点迟但是依旧很兴奋!UP
分类:Web程序   时间:2015-04-22 20:09:35    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!