码迷,mamicode.com
首页 >  
搜索关键字:problems    ( 6275个结果
hdu 1625 Numbering Paths 最短路的变形,使用Floyd 外加判环
Problem Description Problems that process input and generate a simple ``yes'' or ``no'' answer are called decision problems. One class of decision problems, the NP-complete problems, are not amenable to general efficient solutions. Other problems may be si...
分类:其他好文   时间:2015-02-17 17:43:31    阅读次数:196
Valid Parentheses
https://oj.leetcode.com/problems/valid-parentheses/Given a string containing just the characters'(',')','{','}','['and']', determine if the input stri...
分类:其他好文   时间:2015-02-15 20:30:40    阅读次数:183
【原创】leetCodeOj --- Fraction to Recurring Decimal 解题报告
原题地址:https://oj.leetcode.com/problems/repeated-dna-sequences/题目内容:All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for ex...
分类:其他好文   时间:2015-02-15 11:53:05    阅读次数:232
Letter Combinations of a Phone Number
https://oj.leetcode.com/problems/letter-combinations-of-a-phone-number/Given a digit string, return all possible letter combinations that the number c...
分类:其他好文   时间:2015-02-13 18:20:16    阅读次数:119
Longest Common Prefix
https://oj.leetcode.com/problems/longest-common-prefix/Write a function to find the longest common prefix string amongst an array of strings.解题思路:这题属于...
分类:其他好文   时间:2015-02-13 14:33:08    阅读次数:172
Palindrome Number
https://oj.leetcode.com/problems/palindrome-number/Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.So...
分类:其他好文   时间:2015-02-12 20:01:09    阅读次数:204
Install Mysql MHA On Redhat6.3
官方介绍: MHA performs automating master failover and slave promotion with minimal downtime, usually within 10-30 seconds. MHA prevents replication consistency problems and saves on expenses of having to...
分类:数据库   时间:2015-02-12 10:52:38    阅读次数:253
4Sum
https://oj.leetcode.com/problems/4sum/Given an arraySofnintegers, are there elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplet...
分类:其他好文   时间:2015-02-11 23:09:05    阅读次数:212
字符串模式匹配sunday算法
今天在做LeetCode的时候,碰到一个写字符串匹配的题目:https://oj.leetcode.com/problems/implement-strstr/我一看就懵了,字符串模式匹配我记得当时在上数据结构的时候,书上只写了BF和KMP算法,老师说考试“只可能会考BF”,KMP不要求掌握。然后出...
分类:编程语言   时间:2015-02-11 14:20:09    阅读次数:215
3Sum Closest
https://oj.leetcode.com/problems/3sum-closest/Given an arraySofnintegers, find three integers inSsuch that the sum is closest to a given number, targe...
分类:其他好文   时间:2015-02-10 21:42:48    阅读次数:373
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!