Palindrome Generator | Published My Library on GitHub

Palindrome Generator is a Library written in JAVA. Currently, it is the fastest palindrome generator library available. It generates next palindrome within O(l/2) where l = length of the palindrome string. Also it generates the next palindrome from a given starting string, in the same time i.e. O(l/2). It does not bound you with the set of alphabet. You can provide an alphabet which JAVA String class accepts.

Palindrome Generator Documentation

Here you can see complete documentation.

Palindrome Generator Sample Usage

Here you can find sample usage of Palindrome Generator library.


/*
* This is how you generate 100 palindrome strings from alphabet
* {0,1,2,3,4,5,6,7,8,9} after string "100"
*/
public static void main(String[] args) {
Palindrome palindrome = new Palindrome("0123456789", "100");
for (int i = 0; i < 100; i++) {
System.out.println(palindrome.nextPalindrome());

}
}

Palindrome Generator GitHub Page

Here is the official GitHub page link.

Palindrome Generator GitHub Repository

Here is the GitHub repository link of master branch.

Palindrome Generator Releases on GitHub

Here you can download jar directly from GitHub.

Leave a Reply

Your email address will not be published. Required fields are marked *

Connect with Facebook

*