码迷,mamicode.com
首页 >  
搜索关键字:actionbar up    ( 8653个结果
杭电ACM-The Snail
Problem Description A snail is at the bottom of a 6-foot well and wants to climb to the top. The snail can climb 3 feet while the sun is up, but slides down 1 foot at night while sleeping. The snai...
分类:其他好文   时间:2015-01-28 14:51:13    阅读次数:126
Rotate Image -- leetcode
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? 根据一个点坐标计算出其他三个点的位置。 可以依据,每个点到外边框的对应距离相等,推算坐标。 ...
分类:其他好文   时间:2015-01-28 14:49:45    阅读次数:131
YT14-先来练练手之电梯RUNTIME
Problem Description The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elevator will stop, in specified ...
分类:其他好文   时间:2015-01-28 09:55:48    阅读次数:148
Ubuntu 12.04 修改键盘映射
Page_up/Page_down与Home/End互换 CapsLock与Escape互换
分类:系统相关   时间:2015-01-28 09:36:46    阅读次数:156
SDRAM总结
使用的流程W9825G6JH winbond sdram 4M words X 4banks X 16bits=.Accesses to the SDRAM are burst oriented.Up to 200MHzCAS Latency 2 and 3Burst Length 1,2,4,9 ...
分类:其他好文   时间:2015-01-28 09:36:32    阅读次数:593
LeetCode --- 1. Two Sum
题目链接:[Two Sum](https://oj.leetcode.com/problems/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 th...
分类:其他好文   时间:2015-01-27 23:36:58    阅读次数:356
30: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 along the path equals the given sum...
分类:其他好文   时间:2015-01-27 23:09:49    阅读次数:206
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 targ...
分类:其他好文   时间:2015-01-27 20:24:52    阅读次数:213
控制actionbar中的向上键
android中会给配置了 android:parentActivityName 的activity默认加入一个向上返回键,如下: 当点击向上返回后,默认的行为是finish自身,startactivity(配置的父类activity)。 如果我们想要手动控制该行为怎么办?如下: @Override public boolean onOptionsItemSelected(Me...
分类:其他好文   时间:2015-01-27 18:30:54    阅读次数:154
LeetCode Unique Paths II
Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space is marked as 1 and 0 respectively in the grid.For e...
分类:其他好文   时间:2015-01-27 13:28:19    阅读次数:149
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!