码迷,mamicode.com
首页 >  
搜索关键字:valid palindrome    ( 4264个结果
[leetcode] Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space.
分类:其他好文   时间:2014-06-27 12:28:06    阅读次数:228
[leetcode] Valid Sudoku
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.
分类:其他好文   时间:2014-06-27 12:18:39    阅读次数:153
[LeetCode] Valid Sudoku
Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with ...
分类:其他好文   时间:2014-06-26 19:35:09    阅读次数:266
使用 Visual Studio 对exe文件进行数字签名
使用“VS2013 开发人员命令提示”运行签名工具。转到要签名的文件目录运行命令:```csharpsigntool sign /a 要签名的程序.exe```signtool 的相关命令```csharpUsage: signtool [options] Valid command...
分类:其他好文   时间:2014-06-26 18:31:16    阅读次数:1092
LeetCode: Palindrome Partitioning [131]
【题目】 Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. For example, given s = "aab", Return [ ["aa","b"], ["a","a","b"] ] 【题意】 给定一个字符串s, 要求对s进行...
分类:其他好文   时间:2014-06-26 13:21:59    阅读次数:182
LeetCode: Palindrome Partitioning II [132]
【题目】 Given a string s, partition s such that every substring of the partition is a palindrome. Return the minimum cuts needed for a palindrome partitioning of s. For example, given s = "aab", Return 1 since the palindrome partitioning ["aa","b"] could b...
分类:其他好文   时间:2014-06-26 07:48:00    阅读次数:259
Leetcode Valid Parentheses
Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the correct ...
分类:其他好文   时间:2014-06-25 12:44:56    阅读次数:188
Leetcode: Longest Valid Parentheses
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.For "(()", the lon...
分类:其他好文   时间:2014-06-25 11:07:45    阅读次数:230
Topcoder SRM625 题解
给出一个字符串求是palindrome和anagram的比率是多少。 知识点: 1 DBL_MAX 64位double的最长数大概是1.7E308,很大很大,比long long大上不知多少倍,故此大概能容纳150!的数值,不能容纳200!的数值 2 偶数的时候,不能有字母重复为基数次,否则不能组成palindrome 3 基数的时候,只能有且只有有一个字母重复为基数次,用于放在中...
分类:其他好文   时间:2014-06-25 10:00:13    阅读次数:193
LeetCode: Valid Palindrome [125]
【题目】 Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example, "A man, a plan, a canal: Panama" is a palindrome. "race a car" is not a palindrome. Note: Have you consider that the string m...
分类:其他好文   时间:2014-06-24 15:35:07    阅读次数:150
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!