mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-25 13:34:54 +08:00
Format code with prettier (#3375)
This commit is contained in:
@ -11,7 +11,9 @@ 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