dexterpuru / leetcode_java

Archive for Leetcode solutions in Java
Creative Commons Zero v1.0 Universal
4 stars 15 forks source link

added code for Longest Palindromic Substring using Manacher's algo #3

Closed YourAKShaw closed 3 years ago

YourAKShaw commented 3 years ago

Closes #2

Added Solution for 5. Longest Palindromic Substring. The solution is based on Manacher's Algorithm and is of linear time complexity.