码迷,mamicode.com
首页 >  
搜索关键字:over(partition by ...order by ...)    ( 29066个结果
mount img
yanzhihong@yzh:~/nook3$ file noogie.img noogie.img: x86 boot sector; partition 1: ID=0xc, active, starthead 1, startsector 32, 155616 sectors, code of...
分类:其他好文   时间:2014-05-16 08:31:35    阅读次数:236
省赛总结,加油!
这次省赛感觉题目没有wangs说的那么难,记得比赛之前的训练赛,wangs说你们现在做的题目太水了,省赛题的最简单的题目都比你们做的最难的还要难,去的时候在车上就在想,这下要玩over了!都不知道能AC几道题目,虽然我们是友情队,但是也不要一道题目也不能A吧!如果真是那样的话,我们平时的训练就完.....
分类:其他好文   时间:2014-05-16 05:57:32    阅读次数:247
2014 New Air Jordans 6 World Cup Brazil For Sale
Jordan Brand has been going out of theAir Jordan 6 World Cup Brazilordinary with some of their Retro colorways over the last few years and the trend c...
分类:其他好文   时间:2014-05-15 16:47:00    阅读次数:288
Leetcode 树 Binary Tree Zigzag Level Order Traversal
题意:给定一棵二叉树,返回按zigzag层次遍历的结果 思路: 还是跟前面的Binary Tree Level Order Traversal的思路一样 即从上往下按层遍历二叉树,将每一层的节点存放到该层对应的数组中 最后将得到的总数组中奇数层(从0层开始计数)的子数组reverse一下就可以了 复杂度:时间O(n),空间O(n)...
分类:其他好文   时间:2014-05-15 15:15:50    阅读次数:374
Leetcode 树 Binary Tree Level Order Traversal II
题意:从底往上按层遍历二叉树 思路: 思路和Binary Tree Level Order Traveral 一样, 即从上往下按层遍历二叉树,将每一层的节点存放到该层对应的数组中 最后将得到的数组倒转一下就可以了 按层遍历二叉树可用bfs,也可用dfs,但都要记录节点所在的层 复杂度:时间O(n), 空间O(n)...
分类:其他好文   时间:2014-05-15 06:32:14    阅读次数:278
第七章 快速排序
快速排序最坏情况下时间复杂度是O(n*n),但是它平均时间复杂度是O(N*logn),并且常数因子很小,可实现就地排序,所以被作为内排序的常用排序方法. #include using namespace std; void swap(int &i,int &j) { int temp=i; i=j; j=temp; } int partition(int *vector...
分类:其他好文   时间:2014-05-15 06:05:35    阅读次数:254
Ubuntu /boot paritiion clean up
1. Check the /boot partition size to decide if need clean up $ df 2. Check the current used Linux kernel $ uname -r 3. Check all Linux kernel to decide which ones to be removed $ ls /boot...
分类:其他好文   时间:2014-05-15 03:24:16    阅读次数:235
mysql索引
这几天测试确认系统的订单大库查询,发现查询很慢,但是都增加了相应的索引,但是依然很慢,查询经常请求超时,涉及的数据库是order-store的order-index表(目前是直接通过和数据库交互的方式去查询的,没有用到搜索引擎)。经过排查,发现是数据迁移,迁移进来了300多万的数据,拖慢了查询的速度...
分类:数据库   时间:2014-05-14 10:41:07    阅读次数:362
android draw() onDraw() dispathDraw() onDrawScrollBars
/* * Draw traversal performs several drawing steps which must be executed * in the appropriate order: * * 1. Draw...
分类:移动开发   时间:2014-05-14 07:54:54    阅读次数:399
阿里云服务器挂载新数据盘
首先查看数据盘的信息,找到新添加的数据盘,如/dev/xvdbfdisk -l然后将数据盘分区fdisk /dev/xvdb#然后根据提示#输入 n ,表示设定新的分区#输入 p ,表示Primary partition(主分区)#输入 1 ,表示只分1个区。再次查看数据盘的信息,便会发现数据盘分区...
分类:其他好文   时间:2014-05-14 06:57:25    阅读次数:256
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!