Functions array struct Res (*funcs[])(char*, int) = { longest_palindrome1, longest_palindrome2, manacher };