If it is present also check upto which index it is palindrome
if ( pCrawl . id >= 0 && pCrawl . id != id && isPalindrome ( key , level , key . length ( ) - 1 ) ) { List < Integer > l = new ArrayList < > ( ) ; l . add ( id ) ; l . add ( pCrawl . id ) ; result . add ( l ) ; }