码迷,mamicode.com
首页 >  
搜索关键字:valid palindrome    ( 4264个结果
H_Dp
/* H - 简单dp 例题扩展 Time Limit:3000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Description A palindrome is a symmetrical string, that is, a string read identically from ...
分类:其他好文   时间:2014-07-18 22:23:07    阅读次数:235
ASP.NET MVC 入门3、Routing
在一个route中,通过在大括号中放一个占位符来定义( { and } )。当解析URL的时候,符号"/"和"."被作为一个定义符来解析,而定义符之间的值则匹配到占位符中。route定义中不在大括号中的信息则作为常量值。 下面是一些示例URL: Valid route definitions Examples of matching URL...
分类:Web程序   时间:2014-07-17 10:13:41    阅读次数:477
【leetcode】Word Break II
Given a stringsand a dictionary of wordsdict, add spaces insto construct a sentence where each word is a valid dictionary word.Return all such possibl...
分类:其他好文   时间:2014-07-17 00:52:21    阅读次数:376
[leetcode]Restore IP Addresses
Restore IP AddressesGiven a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"255255...
分类:其他好文   时间:2014-07-16 18:03:41    阅读次数:157
[cc150] check palindrome of a singly linked list
Problem: Implement a function to check if a singly linked list is a palindrome.思路:最简单的方法是 Reverse and compare.另外一种非常经典的办法是用 Recursive 的思路,把一个list看成这种形...
分类:其他好文   时间:2014-07-16 17:41:23    阅读次数:188
[leetcode]Palindrome Partitioning
Palindrome PartitioningGiven a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioni...
分类:其他好文   时间:2014-07-16 17:41:15    阅读次数:173
poj 1159 Palindrome
PalindromeTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 51799 Accepted: 17834DescriptionA palindrome is a symmetrical string, that is, a string read identically from left to right as well ...
分类:其他好文   时间:2014-07-15 12:36:31    阅读次数:200
POJ1159
?? Palindrome Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 51790   Accepted: 17831 Description A palindrome is a symmetrical string, that is, a string read...
分类:其他好文   时间:2014-07-14 16:13:57    阅读次数:221
Validate Binary Search Tree
Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only nodes with keys less than the node's key.Th...
分类:其他好文   时间:2014-07-13 16:53:01    阅读次数:189
Valid Parentheses
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close in the correct order, "()" and "()[]{}" are all va...
分类:其他好文   时间:2014-07-13 16:11:26    阅读次数:144
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!