码迷,mamicode.com
首页 >  
搜索关键字:one pass    ( 36218个结果
Merge k Sorted Lists
Mergeksorted linked lists and return it as one sorted list. Analyze and describe its complexity./***Definitionforsingly-linkedlist.*structListNode{*in...
分类:其他好文   时间:2014-06-04 21:08:57    阅读次数:381
poj 1002:487-3279(水题,提高题 / hash)
487-3279Time Limit:2000MSMemory Limit:65536KTotal Submissions:236746Accepted:41288DescriptionBusinesses like to have memorable telephone numbers. One ...
分类:其他好文   时间:2014-06-04 21:08:17    阅读次数:349
性能测试相关脚本
1,restime统计响应时间#!/bin/bash#统计日志响应时间用if [ $# -lt 1 ]; then echo "at least have one param; " echo "ex: restime a.log b.log *.log" exit 1fi. lgq...
分类:其他好文   时间:2014-06-04 20:23:43    阅读次数:291
Scramble String
Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representation...
分类:其他好文   时间:2014-06-04 20:11:38    阅读次数:303
Maximum Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[?2,1,?3,4,?1,2,1,...
分类:其他好文   时间:2014-06-04 19:30:13    阅读次数:230
Plus One
Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
分类:其他好文   时间:2014-06-04 19:19:52    阅读次数:185
Gray Code
The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total number...
分类:其他好文   时间:2014-06-04 18:58:39    阅读次数:277
QString介绍
QString stores a string of 16-bit QChars, where each QChar corresponds one Unicode 4.0 character.一、初始化QString字符串 1)Char * 初始化QString str = "Hello"...
分类:其他好文   时间:2014-05-30 00:47:43    阅读次数:376
How to enable DateTimePicker to use both date and time z
Recently in one of my project I needed to have an option to display the DateTimePicker allowing user to pick both the date and the time. When I drag t...
分类:其他好文   时间:2014-05-29 17:46:20    阅读次数:239
poj 2049 -- Finding Nemo
Finding NemoTime Limit: 2000MSMemory Limit: 30000KTotal Submissions: 7372Accepted: 1714DescriptionNemo is a naughty boy. One day he went into the deep...
分类:其他好文   时间:2014-05-29 09:36:17    阅读次数:355
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!