码迷,mamicode.com
首页 >  
搜索关键字:longest palindromic    ( 2914个结果
1019 General Palindromic Number
1019 General Palindromic Number (20 分) 1019 General Palindromic Number (20 分) 1019 General Palindromic Number (20 分) A number that will be the same wh ...
分类:其他好文   时间:2019-06-16 14:16:56    阅读次数:108
Longest Palindromic Subsequence
Given a string s, find the longest palindromic subsequence's length in s. You may assume that the maximum length of s is 1000. Example 1:Input: Output ...
分类:其他好文   时间:2019-06-16 09:23:59    阅读次数:90
23-104. Maximum Depth of Binary Tree
题目描述: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the fart ...
分类:其他好文   时间:2019-06-14 00:46:20    阅读次数:101
EE205 Project 2
EE205 Project 2Assign 2019-05-20 Due 2019-06-18 Longest Palindromic Subsequence Given a sequence, find the length of the longest palindromic subsequen ...
分类:其他好文   时间:2019-06-12 19:59:18    阅读次数:357
ARTS打卡计划第四周
Algorithms: https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/ 采用了map的存储,然后移动窗口方式解决此问题,当然看到有个动态规划,一直很难理解。 Review: https: ...
分类:其他好文   时间:2019-06-10 00:11:08    阅读次数:84
5. Longest Palindromic Substring[M]
题目 Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example1: & 8195; Input: "babad ...
分类:其他好文   时间:2019-06-09 09:53:14    阅读次数:114
【SP1811】 LCS - Longest Common Substring(后缀自动机)
"题目链接" 对第一个串建出$SAM$,然后用第二个串去匹配。 如果能往下走就往下走,不能的话就跳parent tree的父亲,直到能走为止。如果跳到$0$了还是不能走,重新匹配。 cpp include include include using namespace std; const int ...
分类:其他好文   时间:2019-06-09 09:15:52    阅读次数:74
letecode [104] - Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest l ...
分类:其他好文   时间:2019-06-07 19:33:47    阅读次数:97
leetcode-mid-dynamic programming- Longest Increasing Subsequence-NO
不会。。。 参考: 思路类似于coin那个题,for循环中在满足条件时就及时更新当下位置的信息 ...
分类:其他好文   时间:2019-06-05 19:29:31    阅读次数:85
【LeetCode】9.Array and String — Longest Common Prefix 最长共同前缀
Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". Exampl ...
分类:其他好文   时间:2019-06-03 23:48:55    阅读次数:107
2914条   上一页 1 ... 32 33 34 35 36 ... 292 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!