A C program to implement Manachers Algorithm
#include <stdio.h> NEW_LINE #include <string.h> NEW_LINE char text [ 100 ] ; int min ( int a , int b ) { int res = a ; if ( b < a ) res = b ; return res ; } void findLongestPalindromicString ( ) { int N = strlen ( text ) ; if ( N == 0 ) return ;