码迷,mamicode.com
首页 >  
搜索关键字:array    ( 29504个结果
startallserver
[lvhongmin@AY1401201736089361adZ start_svr]$ cat startall_svr.sh  #!/bin/bash errpath[0]='' errnum=0 runnum=0 curr_path=`pwd` #进程的名字 array[${#array[*]}]=/home/lvhongmin/bin/bin....
分类:其他好文   时间:2014-06-05 11:11:43    阅读次数:243
killallserver
[lvhongmin@AY1401201736089361adZ start_svr]$ cat killall_svr.sh  #!/bin/bash unrun[0]='' unnum=0 runnum=0 #进程的名字 array[${#array[*]}]=paiyouQuan.svr array[${#array[*]}]=jjm.cornucopia.svr...
分类:其他好文   时间:2014-06-05 08:04:29    阅读次数:277
63.如何对单链表进行快排?和数组快排的分析与对比[quicksort of array and linked list]
quick sort of array and linked list
分类:其他好文   时间:2014-06-03 08:16:22    阅读次数:359
杭电1081(动态规划)
题目:Problem DescriptionGiven a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1 x 1 or gr...
分类:其他好文   时间:2014-05-31 11:35:43    阅读次数:271
【LeetCode】Jump Game II
Jump Game IIGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents...
分类:其他好文   时间:2014-05-31 03:14:14    阅读次数:243
CodeForces 432C Prime Swaps
DescriptionYou have an arraya[1],?a[2],?...,?a[n], containing distinct integers from1ton. Your task is to sort this array in increasing order with the...
分类:其他好文   时间:2014-05-31 01:35:23    阅读次数:318
Single Number
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:其他好文   时间:2014-05-30 16:16:29    阅读次数:190
Single Number II
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:其他好文   时间:2014-05-30 15:15:53    阅读次数:225
Convert Sorted Array to Binary Search Tree
Given an array where elements are sorted in ascending order, convert it to a height balanced BST./** * Definition for binary tree * struct TreeNode { ...
分类:其他好文   时间:2014-05-30 15:10:23    阅读次数:227
Best Time to Buy and Sell Stock II
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:其他好文   时间:2014-05-30 15:00:54    阅读次数:335
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!