码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
JQuery操作Table元素
使用Jquery操作Table中的tr向上或向下移动,以及全选和反选操作.点击Table Head中的复选框,全选或反选表格中所有的复选框;选中复选框,点击Up 按钮, tr上移;点击 Down 按钮,tr 下移。ASPX代码: ...
分类:Web程序   时间:2015-05-04 19:52:49    阅读次数:163
[LeetCode] Path Sum
Path Sum Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. For example: Given the below bina...
分类:其他好文   时间:2015-05-04 15:30:49    阅读次数:113
【leetcode】Set Matrix Zeros
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space...
分类:其他好文   时间:2015-05-04 13:45:22    阅读次数:120
leetcode || 141、Linked List Cycle
problem: Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? Hide Tags  Linked List Two Pointers ...
分类:其他好文   时间:2015-05-04 12:05:09    阅读次数:148
leetcode || 142、Linked List Cycle II
problem: 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? Hide Tags  Linked Lis...
分类:其他好文   时间:2015-05-04 11:58:22    阅读次数:133
模板 高精度计算
【模板】高精度计算大数相加: 1 #include 2 #include 3 #include 4 5 void add(char a[],char b[],char back[]) 6 { 7 int i,j,k,up,x,y,z,l; 8 char *c; 9 i...
分类:其他好文   时间:2015-05-03 11:55:09    阅读次数:274
二分查找的探讨
/* 二分查找 普通版 bs(); 求下界 low_bs(); 求上界 up_bs(); */ #include #include using namespace std; //[l,r) int bs(int *T,int l,int r,int v) { int m; while(l>1 要加括号 ...
分类:其他好文   时间:2015-05-03 00:51:19    阅读次数:201
【leetcode】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? 1 class Soluti...
分类:其他好文   时间:2015-05-01 11:56:29    阅读次数:110
辛星浅析Linux自动获取IP设置
第一步就是激活网卡,一般通常系统装好后默认的网卡是eth0,我们只需要使用ifconfig  eth0   up来激活它。       第二步就是设置网卡进入系统后启动,我们使用chkconfig   --level   2345   network  on就可以了。       第三步就是修改网卡文件,我们只需要设置ONBOOT的值为true即可,设置BOOTPROTO的值为dhcp即可,其...
分类:系统相关   时间:2015-05-01 08:16:32    阅读次数:275
【Linked List Cycle II】cpp
题目:Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?...
分类:其他好文   时间:2015-05-01 00:26:54    阅读次数:174
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!