donutz03
1460eb7bbe
Add Manacher’s Algorithm for Longest Palindromic Substring (#5462)
* Added Manacher Algorithm
* Formatted ManacherTest.java
* Formatted Manacher.java
* Refactor: Update Manacher's algorithm tests and improve readability
- Added parameterized tests for longestPalindrome, empty cases, complex cases, and sentence palindromes.
- Removed unnecessary comments for cleaner code.
- Renamed variable `p` to `palindromeLengths` for clarity based on code review feedback.
---------
Co-authored-by: Ionut Hodoroaga <ionut.hodoroaga20@gmail.com>
2024-09-24 16:21:57 +03:00
..
2024-06-13 21:00:16 +02:00
2024-08-22 11:08:17 +03:00
2024-05-08 09:58:29 +03:00
2024-08-26 08:26:01 +03:00
2024-08-26 09:55:50 +03:00
2024-05-08 09:58:29 +03:00
2024-08-25 23:14:33 +03:00
2024-08-26 16:37:17 +02:00
2024-05-08 09:58:29 +03:00
2024-08-24 11:57:54 +03:00
2024-08-30 11:58:24 +02:00
2024-06-13 19:40:12 +02:00
2024-08-28 18:40:27 +02:00
2024-08-26 16:29:16 +02:00
2024-05-08 09:58:29 +03:00
2024-09-24 16:21:57 +03:00
2024-08-15 11:43:47 +03:00
2024-05-08 09:58:29 +03:00
2024-06-13 21:00:16 +02:00
2024-08-23 12:33:41 +03:00
2024-08-30 11:58:24 +02:00
2024-08-27 13:00:11 +02:00
2024-08-27 10:49:20 +02:00
2024-08-30 08:50:14 +02:00
2024-05-08 09:58:29 +03:00
2024-08-27 12:02:50 +02:00
2024-08-30 08:50:14 +02:00
2024-06-13 21:00:16 +02:00
2024-08-30 09:49:55 +02:00