码迷,mamicode.com
首页 >  
搜索关键字:valid characters    ( 4838个结果
LeetCode-131-Longest Palindromic Characters
算法描述: Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. Exam ...
分类:其他好文   时间:2019-02-05 22:07:25    阅读次数:153
LeetCode-98-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 contain ...
分类:其他好文   时间:2019-02-02 17:02:41    阅读次数:149
LeetCode-93-Restore IP Addresses
算法描述: Given a string containing only digits, restore it by returning all possible valid IP address combinations. Example: 解题思路:题目要求所有可能的结果,首先想到回溯法。重点有 ...
分类:其他好文   时间:2019-02-02 14:17:56    阅读次数:209
SPOJ1812 Longest Common Substring II
题意 A string is finite sequence of characters over a non empty finite set Σ. In this problem, Σ is the set of lowercase letters. Substring, also called ...
分类:其他好文   时间:2019-02-01 23:30:09    阅读次数:205
19.2.1 [LeetCode 32] Longest Valid Parentheses
Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring. Example 1: Exampl ...
分类:其他好文   时间:2019-02-01 19:50:13    阅读次数: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: ...
分类:其他好文   时间:2019-02-01 17:16:05    阅读次数:188
LeetCode-86-Longest Palindromic Characters
算法描述: Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserv ...
分类:其他好文   时间:2019-02-01 14:19:34    阅读次数:158
LeetCode-5-Longest Palindromic Characters
算法描述: Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. Example 1: Examp ...
分类:其他好文   时间:2019-02-01 14:12:17    阅读次数:161
leetcode 344. Reverse String
Write a function that reverses a string. The input string is given as an array of characters char[]. Do not allocate extra space for another array, yo ...
分类:其他好文   时间:2019-01-30 20:53:52    阅读次数:170
#Leetcode# 451. Sort Characters By Frequency
https://leetcode.com/problems/sort-characters-by-frequency/ Given a string, sort it in decreasing order based on the frequency of characters. Example ...
分类:其他好文   时间:2019-01-30 20:53:43    阅读次数:199
4838条   上一页 1 ... 66 67 68 69 70 ... 484 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!