码迷,mamicode.com
首页 >  
搜索关键字:valid palindrome    ( 4264个结果
Leetcode Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Pana...
分类:其他好文   时间:2014-07-06 16:45:00    阅读次数:201
Leetcode Valid Number
Validate if a given string is numeric.Some examples:"0"=>true" 0.1 "=>true"abc"=>false"1 a"=>false"2e10"=>trueNote:It is intended for the problem stat...
分类:其他好文   时间:2014-07-05 17:20:00    阅读次数:176
LeetCode——Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space. Some hints: Could negative integers be palindromes? (ie, -1) If you are thinking of converting the integer to string...
分类:其他好文   时间:2014-07-05 10:44:29    阅读次数:227
leecode 回文字符串加强版
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Pana...
分类:其他好文   时间:2014-07-03 19:38:58    阅读次数:287
[leetcode] Validate Binary Search Tree
Given a binary tree, determine if it is a valid binary search tree (BST).
分类:其他好文   时间:2014-07-03 19:36:49    阅读次数:196
[leetcode] Restore IP Addresses
Given a string containing only digits, restore it by returning all possible valid IP address combinations.
分类:其他好文   时间:2014-07-02 14:45:41    阅读次数:220
【LeetCode】Valid Palindrome
题目 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" i...
分类:其他好文   时间:2014-07-02 09:49:04    阅读次数:271
LeetCode: Evaluate Reverse Polish Notation [150]
【题目】 Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each operand may be an integer or another expression. Some examples: ["2", "1", "+", "3", "*"] -> ((2 + 1) * 3) -> 9 ["4", "13", "5", "/...
分类:其他好文   时间:2014-07-02 07:43:36    阅读次数:212
UVa401 回文词
PalindromesA regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string"ABCDEDCBA"is a palindr...
分类:其他好文   时间:2014-07-01 18:52:11    阅读次数:460
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  longest valid parentheses substring is "()...
分类:其他好文   时间:2014-07-01 09:09:06    阅读次数:156
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!