| 1. |
What Is The Difference Between Palindrome And Reverse Function? |
|
Answer» It is to be denoted that the words of PALINDROME are called palindromes. REVERSE = w Example: Σ={a,b}, PALINDROME={Λ , a, b, AA, bb, AAA, aba, bab, bbb, …} If a is a word in some language L, then reverse (a) is the same STRING of letters spelled backwards, called the reverse of a. e.g reverse (XXX) = xxx It is to be denoted that the words of PALINDROME are called palindromes. Reverse = w Example: Σ={a,b}, PALINDROME={Λ , a, b, aa, bb, aaa, aba, bab, bbb, …} If a is a word in some language L, then reverse (a) is the same string of letters spelled backwards, called the reverse of a. e.g reverse (xxx) = xxx |
|