We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 216d33e commit 28ec332Copy full SHA for 28ec332
src/main/java/com/fishercoder/solutions/_516.java
@@ -1,25 +1,5 @@
1
package com.fishercoder.solutions;
2
3
-/**
4
- * 516. Longest Palindromic Subsequence
5
- *
6
- * Given a string s, find the longest palindromic subsequence's length in s.
7
- * You may assume that the maximum length of s is 1000.
8
-
9
- Example 1:
10
- Input:
11
- "bbbab"
12
- Output:
13
- 4
14
- One possible longest palindromic subsequence is "bbbb".
15
16
- Example 2:
17
18
- "cbbd"
19
20
- 2
21
- One possible longest palindromic subsequence is "bb".
22
- */
23
public class _516 {
24
25
public static class Solution1 {
0 commit comments