Add some algorithms below:
1. using KMP algorithm to find the longest substring
2. construct trie tree
3. using DP algorithm to find the longest palindromic substring