When.com Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Longest palindromic substring - Wikipedia

    en.wikipedia.org/wiki/Longest_palindromic_substring

    The loop at the center of the function only works for palindromes where the length is an odd number. The function works for even-length palindromes by modifying the input string. The character '|' is inserted between every character in the inputs string, and at both ends. So the input "book" becomes "|b|o|o|k|". The even-length palindrome "oo ...

  3. Palindromic number - Wikipedia

    en.wikipedia.org/wiki/Palindromic_number

    A number that is non-palindromic in all bases b in the range 2 ≤ b ≤ n − 2 can be called a strictly non-palindromic number. For example, the number 6 is written as "110" in base 2, "20" in base 3, and "12" in base 4, none of which are palindromes. All strictly non-palindromic numbers larger than 6 are prime.

  4. Palindrome - Wikipedia

    en.wikipedia.org/wiki/Palindrome

    The number 59 becomes a palindrome after three iterations: 59 + 95 = 154; 154 + 451 = 605; 605 + 506 = 1111, so 59 is not a Lychrel number either. Numbers such as 196 are thought to never become palindromes when this reversal process is carried out and are therefore suspected of being Lychrel numbers.

  5. Palindrome tree - Wikipedia

    en.wikipedia.org/wiki/Palindrome_Tree

    In computer science a palindrome tree, also called an EerTree, [1] is a type of search tree, that allows for fast access to all palindromes contained in a string.They can be used to solve the longest palindromic substring, the k-factorization problem [2] (can a given string be divided into exactly k palindromes), palindromic length of a string [3] (what is the minimum number of palindromes ...

  6. For loop - Wikipedia

    en.wikipedia.org/wiki/For_loop

    In computer science, a for-loop or for loop is a control flow statement for specifying iteration. Specifically, a for-loop functions by running a section of code repeatedly until a certain condition has been satisfied. For-loops have two parts: a header and a body. The header defines the iteration and the body is the code executed once per ...

  7. 13 Funny Palindrome Sentences That Will Crack You Up - AOL

    www.aol.com/13-funny-palindrome-sentences-crack...

    The post 13 Funny Palindrome Sentences That Will Crack You Up appeared first on Reader's Digest. If you thought palindrome words were cool, get ready to have your mind blown by these full ...

  8. List of English palindromic phrases - Wikipedia

    en.wikipedia.org/wiki/List_of_English...

    A palindrome is a word, number, phrase, or other sequence of symbols that reads the same backwards as forwards, such as the sentence: "A man, a plan, a canal – Panama". ". Following is a list of palindromic phrases of two or more words in the English language, found in multiple independent collections of palindromic phra

  9. Palindromic prime - Wikipedia

    en.wikipedia.org/wiki/Palindromic_prime

    Palindromic primes: prime numbers whose decimal expansion is a palindrome In mathematics, a palindromic prime (sometimes called a palprime [ 1 ] ) is a prime number that is also a palindromic number .