manacharjs
Manachar's algorithm implemented in JavaScript
Installation
npm install manacharjs
Usage
import {manachar} from 'manachar';
String longestPalindrome = manachar("abadabc");
Contributing
All pull requests are welcome
Manachar's algorithm implemented in JavaScript
npm install manacharjs
import {manachar} from 'manachar';
String longestPalindrome = manachar("abadabc");
All pull requests are welcome
npm i manacharjs
1
1.0.3
GPL-3.0
37.8 kB
4