Skip to content

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

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages