Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.5 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.5 KB

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: