Skip to content

Commit cf8e109

Browse files
refactor 5
1 parent de8d5f5 commit cf8e109

File tree

1 file changed

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

1 file changed

+0
-14
lines changed

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

-14
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 5. Longest Palindromic Substring
5-
*
6-
* Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.
7-
8-
Example:
9-
Input: "babad"
10-
Output: "bab"
11-
Note: "aba" is also a valid answer.
12-
13-
Example:
14-
Input: "cbbd"
15-
Output: "bb"
16-
*/
173
public class _5 {
184

195
public static class Solution1 {

0 commit comments

Comments
 (0)