Skip to content

Commit 0903137

Browse files
refactor 647
1 parent ad398bc commit 0903137

File tree

1 file changed

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

1 file changed

+0
-22
lines changed

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

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

3-
/**
4-
* 647. Palindromic Substrings
5-
*
6-
* Given a string, your task is to count how many palindromic substrings in this string.
7-
* The substrings with different start indexes or end indexes are counted
8-
* as different substrings even they consist of same characters.
9-
10-
Example 1:
11-
Input: "abc"
12-
Output: 3
13-
Explanation: Three palindromic strings: "a", "b", "c".
14-
15-
Example 2:
16-
Input: "aaa"
17-
Output: 6
18-
Explanation: Six palindromic strings: "a", "a", "a", "aa", "aa", "aaa".
19-
20-
Note:
21-
The input string length won't exceed 1000.
22-
23-
*/
24-
253
public class _647 {
264

275
public static class Solution1 {

0 commit comments

Comments
 (0)