mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
@@ -11,9 +11,7 @@ class LongestPalindromicSubstring {
|
||||
Scanner sc = new Scanner(System.in);
|
||||
System.out.print("Enter the string: ");
|
||||
str = sc.nextLine();
|
||||
System.out.println(
|
||||
"Longest substring is : " + s.longestPalindrome(str)
|
||||
);
|
||||
System.out.println("Longest substring is : " + s.longestPalindrome(str));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user