码迷,mamicode.com
首页 >  
搜索关键字:shufflem up    ( 7826个结果
[HTML5_资源]给网页设计师的30个HTML5学习资源
Blowing up HTML5 video and mapping it into 3D space(将HTML5视频吹散并组成3D效果)最近我研究了HTML 5中的Canvas 和Video 标签,并发现了一些很酷的特性。其中之一就是Canvas.drawImage() api。此为详细介绍。C...
分类:Web程序   时间:2014-07-03 00:41:16    阅读次数:1001
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
纯css做三角形形状
1 /* create an arrow that points up */ 2 div.arrow-up { 3 width:0px; 4 height:0px; 5 border-left:5px solid transparent; /* left arrow slant */...
分类:Web程序   时间:2014-07-01 16:53:30    阅读次数:183
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
Linked List Cycle
题目 Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 方法 /** * Definition for singly-linked list. * class ListNode { ...
分类:其他好文   时间:2014-07-01 11:31:40    阅读次数:178
Linked List Cycle II
题目 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? 方法 public ListNode de...
分类:其他好文   时间:2014-07-01 11:30:58    阅读次数:200
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
每日算法之三十七: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
迷上了代码!