码迷,mamicode.com
首页 >  
搜索关键字:actionbar up    ( 8653个结果
Problem Linked List Cycle II
Problem Description:Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without u...
分类:其他好文   时间:2014-07-07 17:00:35    阅读次数:161
Problem Linked List Cycle
Problem Description:Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?Solution: 1 public bo....
分类:其他好文   时间:2014-07-07 16:08:01    阅读次数:151
Problem Populating Next Right Pointers in Each Node II
Problem Description:Follow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your pr...
分类:其他好文   时间:2014-07-07 15:46:01    阅读次数:267
Leetcode 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?矩阵的旋转如1 2 34 5 67 8...
分类:其他好文   时间:2014-07-07 15:13:49    阅读次数:181
Android 实现顶层窗口、悬浮窗口
如图片所示,在一个Android应用中,除了标题栏和底层的ActionBar的区域,是我们可以操纵的UI区域,那是不是说我们就不能改变除了这两个区域的UI呢?答案是否定的。 比如现在我们希望把一个View放在窗口的最低端显示,通过hierarchyviewer工具我们可以发现最底层的ActionBar是在TestActivity布局的父窗口中设置的,那么我们想通过setContentView(R...
分类:移动开发   时间:2014-06-30 08:20:15    阅读次数:308
N-Queens II
题目 Follow up for N-Queens problem. Now, instead outputting board configurations, return the total number of distinct solutions. 方法 和上题方法一样,使用回溯法,结构基本相同,只需要返回数量。 public i...
分类:其他好文   时间:2014-06-30 06:24:22    阅读次数:273
Set Matrix Zeroes
题目 Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. Follow up: Did you use extra space? A straight forward solution using O(mn) space is probab...
分类:其他好文   时间:2014-06-30 06:17:09    阅读次数:245
LeetCode: Linked List Cycle II [142]
【题目】 Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Follow up: Can you solve it without using extra space? 【题意】 给定一个单向链表,如果链表有环,则返回环开始的位置。 【思路】 仍然是维护两个指针, p1, p2, p1每次走一步, p2每次走两步 ...
分类:其他好文   时间:2014-06-29 23:59:21    阅读次数:354
自定义Actionbar
Android自定义Actionbar的两种方式...
分类:其他好文   时间:2014-06-29 23:26:31    阅读次数:248
LeetCode: Linked List Cycle [141]
【题目】 Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 【题意】 判断一个单向链表是否有环 【思路】 维护两个指针p1和p2,p1每次向前移动一步,p2每次向前移动两步 如果p2能够追上p1,则说明链表中存在环...
分类:其他好文   时间:2014-06-29 22:51:33    阅读次数:267
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!