Skip to content

manikkalai-kannan/manacher

 
 

Repository files navigation

Manacher

Build Status codecov npm MIT License PRs Welcome

longestPalindrome() finds the longest palindrome string within any given string.

Installation

npm install manacher

Usage

const manacher = require('manacher')
console.log(manacher.longestPalindrome('racecar'))

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Here are some links that can help you on making your pull request:

About

Implementation of Manacher's algorithm

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%