单链表:单向无循环,最后置于空//SeqList.h#pragmaonce
#include<string.h>
#include<stdlib.h>
#include<assert.h>
#defineMAX_SIZE100
typedefintDataType;
typedefstructSeqlist
{
DataType*_array;
size_t_size;
size_t_capacity;
}Seqlist;
voidI..
分类:
编程语言 时间:
2016-03-28 22:06:19
阅读次数:
236
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or ...
分类:
其他好文 时间:
2016-03-28 21:50:30
阅读次数:
218
1、 Given an array of integers, find the subarray with smallest sum. Return the sum of the subarray. For [1, -1, -2, 1], return -3 2、 1、只需要求出最小值 2、利用su ...
分类:
其他好文 时间:
2016-03-28 18:48:02
阅读次数:
141
Given an unsorted array of integers, find the length of longest increasing subsequence. For example,Given [10, 9, 2, 5, 3, 7, 101, 18],The longest inc ...
分类:
其他好文 时间:
2016-03-28 18:24:14
阅读次数:
116
Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). You are given a target va ...
分类:
其他好文 时间:
2016-03-28 15:25:59
阅读次数:
120
Given a sorted array of integers, find the starting and ending position of a given target value. Your algorithm's runtime complexity must be in the or ...
分类:
其他好文 时间:
2016-03-28 15:00:51
阅读次数:
144
select * from (select u.*, array_to_string ( ARRAY ( SELECT role_id FROM k_user_role ur WHERE ur.user_id = u.op_id ),',' ) AS user_role, array_to_stri ...
分类:
数据库 时间:
2016-03-28 13:20:56
阅读次数:
476
root@ITSM:/var/www/html/new_itop#vimconf/production/config-itop.php
$aConfig=array(
//ConfigurationoftheActiveDirectoryconnection
‘host‘=>‘192.168.**.**‘,//IPorFQDNofyourdomaincontroller
‘port‘=>‘389‘,//LDAPport,398=LDAP,636=LDAPS
‘dn‘=>‘OU=VB-User..
分类:
Web程序 时间:
2016-03-28 12:08:18
阅读次数:
576
一、JavaScript内置对象内置对象-什么是内置对象?内置对象就是ECMAScript标准中已经定义好的,由浏览器厂商已经实现的标准对象-内置对象中封装了专门的数据和操作数据常用的API-JavaScript中内置对象列表-String、Boolean、Number、Array、Date、RegExp、Math、Error、Function..
分类:
编程语言 时间:
2016-03-28 12:05:31
阅读次数:
287
#include <iostream>using namespace std; void swap(int array[], int beginPos, int endPos){ int t = array[beginPos]; array[beginPos] = array[endPos]; ar ...
分类:
其他好文 时间:
2016-03-28 08:46:49
阅读次数:
179