码迷,mamicode.com
首页 >  
搜索关键字:top    ( 21129个结果
【LeetCode-面试算法经典-Java实现】【070-Climbing Stairs(爬楼梯)】
【070-Climbing Stairs(爬楼梯)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  You are climbing a stair case. It takes n steps to reach to the top.   Each time you can either climb 1 or 2 steps. In how many distinct...
分类:编程语言   时间:2015-08-03 07:50:48    阅读次数:177
Binary Tree Right Side View
Given a binary tree, imagine yourself standing on therightside of it, return the values of the nodes you can see ordered from top to bottom.For exampl...
分类:其他好文   时间:2015-08-03 01:04:34    阅读次数:104
Linux学习-ps aux指令
如果直接用ps命令,会显示所有进程的状态,通常结合grep命令查看某进程的状态。如果想对进程时间监控,应该用 top 工具。下面主要介绍下ps指令。linux进程状态在Linux中,进程存在5中状态 运行状态(正在运行或在运行队列中等待) 中断状态(休眠中, 受阻, 在等待某个条件的形成或接受到信号) 不可中断(收到信号不唤醒和不可运行, 进程必须等待直到有中断发生) 僵死状态(进程已终止, 但进程...
分类:系统相关   时间:2015-08-02 23:25:40    阅读次数:313
【LeetCode】225 - Implement Stack using Queues
Implement the following operations of a stack using queues.push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top()...
分类:其他好文   时间:2015-08-02 21:24:47    阅读次数:121
【LeetCode】223 - Rectangle Area
Find the total area covered by tworectilinearrectangles in a2Dplane.Each rectangle is defined by its bottom left corner and top right corner as shown ...
分类:其他好文   时间:2015-08-02 21:19:57    阅读次数:108
第10章,基本数据结构(栈,队列)
#include#include#includetypedef struct _stack{ int* arr; int top, size;}stack;stack createStack(int size){ stack st; st.arr = (int*)malloc(size*sizeof...
分类:其他好文   时间:2015-08-02 19:45:41    阅读次数:108
RowNumber()分页方法
select top 100 --每页显示数据记录数contractid,contractName from (select ContractId,ContractName,ROW_NUMBER() over(order by contractname desc) as rownum from .....
分类:其他好文   时间:2015-08-02 19:42:20    阅读次数:139
hdu 3342 Legal or Not(给一个有向图判断该图是否拓扑有序)
代码:#include #include using namespace std; int n,m; int mat[105][105]; int in[105]; int Stack[105],top; void topo() { top=0; for(int i=0; i<n; i++) { if(in[i]==0) { ...
分类:其他好文   时间:2015-08-02 16:56:26    阅读次数:122
LeetCode:Climbing Stairs
You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you cli...
分类:其他好文   时间:2015-08-02 16:25:34    阅读次数:125
一款简单实用的jQuery图片画廊插件
图片画廊 今天分享一个自己实现的jQuery 图片画廊插件。 看一下效果图: 点击图片时: 在线演示地址:http://www.jr93.top/photoGallery/photoGallery.html 使用 使用也是很简单,代码如下: ...
分类:Web程序   时间:2015-08-02 15:01:56    阅读次数:136
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!