码迷,mamicode.com
首页 >  
搜索关键字:you have two operati    ( 41000个结果
Container With Most Water
Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ...
分类:其他好文   时间:2014-06-04 21:09:33    阅读次数:307
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
Jump Game II
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他好文   时间:2014-06-04 20:58:25    阅读次数:296
Jump Game
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他好文   时间:2014-06-04 20:44:19    阅读次数:216
Rotate Image
You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?classSolution{publi...
分类:其他好文   时间:2014-06-04 20:25:09    阅读次数:227
性能测试相关脚本
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
Remove Duplicates from Sorted List II
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving onlydistinctnumbers from the original list.For example,Given1->2->3-...
分类:其他好文   时间:2014-06-04 20:19:49    阅读次数:282
Multiply Strings
Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are non-nega...
分类:其他好文   时间:2014-06-04 20:19:04    阅读次数:313
UVALive - 2965 Jurassic Remains
Jurassic RemainsTime Limit:18000MSMemory Limit:Unknown64bit IO Format:%lld & %llu[Submit] [Go Back] [Status]DescriptionPaleontologists in Siberia have...
分类:其他好文   时间:2014-06-04 20:16:27    阅读次数:384
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!