Skip to content

Commit 28ec332

Browse files
refactor 516
1 parent 216d33e commit 28ec332

File tree

1 file changed

+0
-20
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-20
lines changed

src/main/java/com/fishercoder/solutions/_516.java

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,5 @@
11
package com.fishercoder.solutions;
22

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-
Input:
18-
"cbbd"
19-
Output:
20-
2
21-
One possible longest palindromic subsequence is "bb".
22-
*/
233
public class _516 {
244

255
public static class Solution1 {

0 commit comments

Comments
 (0)