码迷,mamicode.com
首页 >  
搜索关键字:maximum number of th    ( 33896个结果
LeetCode第五题,Longest Palindromic Substring
题目原文: Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring. 题意解析: 最长回文子串。就是...
分类:其他好文   时间:2014-08-05 15:56:59    阅读次数:290
程序猿的自我修养清单
Data Structures    1. Integer       – find number of 1s       – next largest smaller       – smallest larger number       – determine if is palindrom       – itoa, atoi       – add 2 numbers w/...
分类:其他好文   时间:2014-08-05 15:50:40    阅读次数:408
滑动删除实现
<!DOCTYPEhtml> <html> <head> <metacharset="utf-8"> <metaname="viewport"content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=yes"> <title>TOUCH</title> <styletype="text/css"> *{ margin:..
分类:其他好文   时间:2014-08-05 14:26:11    阅读次数:275
F - To the Max
Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within th....
分类:其他好文   时间:2014-08-05 13:38:49    阅读次数:218
Prime Palindrome Golf
Prime Palindrome GolfDo you know how to play Prime Palindrome Golf? You are given a number and your challenge is to find the closest palindromic prime...
分类:其他好文   时间:2014-08-05 13:24:49    阅读次数:274
POJ 3468 A Simple Problem with Integers(线段树 区间更新)
Description You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each number in a given interval. The other ...
分类:其他好文   时间:2014-08-05 11:15:59    阅读次数:243
Python 不同对象比较大小
?: >>> 1 >> int >> dict < int >> int < map False 后来几经周折,和 Fireboo 讨论了下,是 1.不同对象(除了 number 之外),是按照 type names 比较, 2.当相同类型对象不支持适当比较的时候,采用 address 比较 3.l...
分类:编程语言   时间:2014-08-05 11:12:29    阅读次数:273
POJ 1651 Multiplication Puzzle (区间DP)
Description The multiplication puzzle is played with a row of cards, each containing a single positive integer. During the move player takes one card out of the row and scores the number of points eq...
分类:其他好文   时间:2014-08-05 11:12:25    阅读次数:267
3Sum Closest
Given an arraySofnintegers, find three integers inSsuch that the sum is closest to a given number, target. Return the sum of the three integers. You m...
分类:其他好文   时间:2014-08-05 11:07:09    阅读次数:187
HDU 1018 Big Number (简单数学)
Big NumberTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 25649Accepted Submission(s): 11635Proble...
分类:其他好文   时间:2014-08-05 10:55:29    阅读次数:276
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!