Code cleanup (#4246)

This commit is contained in:
HManiac74
2023-07-22 17:23:00 +02:00
committed by GitHub
parent 3facb0d862
commit 2488a2ad51
52 changed files with 50 additions and 167 deletions

View File

@ -12,6 +12,7 @@ class LongestPalindromicSubstring {
System.out.print("Enter the string: ");
str = sc.nextLine();
System.out.println("Longest substring is : " + s.longestPalindrome(str));
sc.close();
}
}

View File

@ -1,6 +1,5 @@
package com.thealgorithms.strings;
import java.util.Arrays;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;