码迷,mamicode.com
首页 >  
搜索关键字:actionbar up    ( 8653个结果
leetcode - Linked List Cycle II
题目:Linked List Cycle IIGiven a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it withou...
分类:其他好文   时间:2014-07-07 13:44:29    阅读次数:281
[leetcode] Search in Rotated Sorted Array II
Follow up for "Search in Rotated Sorted Array":What if duplicates are allowed?
分类:其他好文   时间:2014-07-07 13:07:00    阅读次数:153
[leetcode] Remove Duplicates from Sorted Array II
Follow up for "Remove Duplicates":What if duplicates are allowed at most twice?
分类:其他好文   时间:2014-07-03 11:51:05    阅读次数:117
ios draw circle with animation
http://stackoverflow.com/questions/7991086/iphone-core-animation-drawing-a-circle// Set up the shape of the circleint radius = 100;CAShapeLayer *circl...
分类:移动开发   时间:2014-07-01 22:36:06    阅读次数:679
Linux性能优化和监控系列(一)——top工具
解释服务器发生了什么——top工具在检查服务器的详细工作性能状态前,系统管理员需要对当前服务器状态有总体的了解. top是检查服务器总体状态的强有力工具, 通过top可以获取CPU, Memory, Process运行信息, 如下是运行top命令后的数据显示:top - 20:08:09 up 10...
分类:系统相关   时间:2014-07-01 20:47:11    阅读次数:272
leetcode题解:Tree Level Order Traversal II (二叉树的层序遍历 2)
题目: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 ...
分类:其他好文   时间:2014-07-01 12:26:07    阅读次数:215
zoj 3790 Consecutive Blocks(链表重点是思想)
Consecutive Blocks Time Limit: 2 Seconds      Memory Limit: 65536 KB There are N (1 ≤ N ≤ 105) colored blocks (numbered 1 to N from left to right) which are lined up in a row. And the i-th b...
分类:其他好文   时间:2014-07-01 06:51:52    阅读次数:218
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...
分类:其他好文   时间:2014-06-30 21:36:50    阅读次数:292
每日算法之三十七: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? 原地图像顺时针旋转90度。因为要求空间复杂度是常数,因此应该迭代旋转操作。 class ...
分类:其他好文   时间:2014-06-30 19:51:53    阅读次数:267
POJ 1743 Musical Theme (后缀数组)
题目大意: 刚才上88个键弹出来的音符。 如果出现重复的,或者是高一个音阶的重复的都算。 思路分析: 具体可以参考训练指南222. height数组表示按照排序后的sa最近的两个后缀的最长前缀。 将height 分块。然后二分答案,二分答案之后去判断是否满足。 要考虑到不重合,还有大于5。 所以二分的时候要从5开始,然后判断的时候要加一个 up - down >le...
分类:其他好文   时间:2014-06-30 19:27:18    阅读次数:242
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!