码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
Java for LeetCode 048 Rotate Image
You are given an n x n 2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?解题思路:找规律即可,JAVA...
分类:编程语言   时间:2015-05-14 22:00:26    阅读次数:106
Unity 编写类似神庙逃亡手势
1、首先我们先定义一个枚举,用来表示手势滑动的四个方向: public enum TouchDirection { Unkown, Left, Right, Up, Down } 2、定义类:TouchInputpublic class TouchInput : MonoBehaviour { public static TouchIn...
分类:编程语言   时间:2015-05-14 18:47:48    阅读次数:220
【Binary Tree Level Order Traversal II 】cpp
题目:Given a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For ...
分类:其他好文   时间:2015-05-14 11:43:09    阅读次数:129
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 target, where in...
分类:其他好文   时间:2015-05-14 10:09:29    阅读次数:131
Rotate Image
You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?分析:先沿对角线进行对折,然后沿水平中...
分类:其他好文   时间:2015-05-14 00:40:00    阅读次数:164
Remove Duplicates from Sorted Array II
Follow up for "Remove Duplicates": What if duplicates are allowed at most twice? For example, Given sorted array nums = [1,1,1,2,2,3], Your function should return length = 5, with the first five el...
分类:其他好文   时间:2015-05-13 23:18:20    阅读次数:331
win8/win7屏蔽ctrl+alt+up/down快捷键的方法
win7屏蔽ctrl+alt+up/down快捷键 Eclipse有个非常好用的快捷键(当然Eclipse好用的快捷键有N个)Ctrl+Alt+UP/DOWN,用于复制当前行的内容,用法很简单,将光标置与要复制的行任意位置,然后按快捷键Ctrl+Alt+UP/DOWN(UP、DOWN分别对应与键盘的上下键按键),将分别在当前行的上一行或者下一行复制一行当前的内容,复制后光标位...
分类:Windows程序   时间:2015-05-13 21:58:53    阅读次数:191
CSS 利用border三角形绘制方法
CSS 三角形绘制方法,这里面的transparent比较重要,有和没有影响很大; 原理:这个div是由4个三角形组成,每个三角对应一个border,隐藏其它3个border,就可以得到一个三角形。 复制代码 代码如下: #triangle-up { width: 0; height: 0; bor...
分类:Web程序   时间:2015-05-13 21:28:26    阅读次数:129
Android开发学习之路-Log的使用
我编写了一个onKeyDown函数,用来捕获上下键盘的时候,按照一般都教程,也就是android入门到精通详解中。使用的是 KEYCODE_DPAD_UP的四个,,,但是实际上确没有反应。然后借助于log在终端输出,发现了问题。1.首先导入log包import android.util.Log;2....
分类:移动开发   时间:2015-05-13 19:09:05    阅读次数:157
Linux 获取网关地址
route命令的用法:操作或者显示IP路由表route:DESCRIPTION Route manipulates the kernel's IP routing tables. Its primary use is to set up static routes to ...
分类:系统相关   时间:2015-05-13 18:58:40    阅读次数:268
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!