码迷,mamicode.com
首页 >  
搜索关键字:longest ordered subs    ( 3212个结果
[LeetCode]3.Longest Substring Without Repeating Characters
【题目】 Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is...
分类:其他好文   时间:2015-01-20 15:42:24    阅读次数:132
[LeetCode][Python]14: Longest Common Prefix
# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'https://oj.leetcode.com/problems/longest-common-prefix/14: Longest Common PrefixWrite a fu...
分类:编程语言   时间:2015-01-19 20:39:03    阅读次数:205
Longest Substring Without Repeating Characters
https://oj.leetcode.com/problems/longest-substring-without-repeating-characters/Given a string, find the length of the longest substring without repea...
分类:其他好文   时间:2015-01-18 23:57:54    阅读次数:264
《数据结构复习笔记》--二叉搜索树
二叉查找树(Binary Search Tree),也称二叉搜索树、有序二叉树(ordered binary tree),排序二叉树(sorted binary tree),是指一棵空树或者具有下列性质的二叉树:...
分类:其他好文   时间:2015-01-18 22:45:47    阅读次数:336
[C++]LeetCode: 105 Longest Substring Without Repeating Characters
题目: Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is ...
分类:编程语言   时间:2015-01-17 18:10:44    阅读次数:251
NYOJ 36 最长公共子序列
最长公共子序列时间限制:3000 ms | 内存限制:65535 KB 难度:3描述咱们就不拐弯抹角了,如题,需要你做的就是写一个程序,得出最长公共子序列。tip:最长公共子序列也称作最长公共子串(不要求连续),英文缩写为LCS(Longest Common Subsequence)。其定义是,一个...
分类:其他好文   时间:2015-01-16 16:00:46    阅读次数:145
[C++]LeetCode: 99 Longest Palindromic Substring (最长回文子串)
题目:Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring. 思路:题目要求的s的一个最长回...
分类:编程语言   时间:2015-01-15 23:54:08    阅读次数:207
uva 01510
1510 - Neon SignJungHeum recently opened a restaurant called ‘Triangle’ and has ordered the following neon sign for hisrestaurant. The neon sign has N...
分类:其他好文   时间:2015-01-15 23:41:38    阅读次数:251
LeetCode No.5 Longest Palindromic Substring
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:其他好文   时间:2015-01-14 16:44:41    阅读次数:109
good-article.2--------Longest Palindromic Substring Part I
This interesting problem has been featured in the famous Greplin programming challenge, and is asked quite often in the interviews. Why? Because this problem can be attacked in so many ways. There a...
分类:其他好文   时间:2015-01-14 15:40:39    阅读次数:291
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!