palindrome
How can I use recursion to find palindromes using Python?
I\'ve just started exploring the wonders of programming. I\'m trying to write a code to identify numeric palindromes. Just looking at numbers and not texts. I\'m trying to learn to use recursion here.[详细]
2023-02-20 18:21 分类:问答How to compute palindrome from a stream of characters in sub-linear space/time?
I don\'t even know if a solution exists or not. Here is the proble开发者_如何学运维m in detail. You are a program that is accepting an infinitely long stream of characters (for simplicity you can assu[详细]
2023-02-10 07:35 分类:问答Any other way to find palindrome other that using the abstract data type "STACK"?
i want to any other efficient way to find the palindrome of string other than using stack data structure. this is code i have written using stack operation.[详细]
2023-02-06 19:29 分类:问答how to find longest palindromic subsequence?
Here is the problem (6.7ch6 ) from Algorithms book (by Vazirani) that slightly differs from the classical problem that finding longest palindrome. How can I solve this problem ?[详细]
2023-02-06 07:46 分类:问答python and palindromes
i recently wrote a method to cycle through /usr/share/dict/words and return a list of palindromes using my ispalindrome(x) method[详细]
2023-02-04 06:51 分类:问答Palindrome Using a stack
Our professor required us to check if a word is a palindrome by using stacks. Every time I run it, there\'s an error: Unhandled Exception. Access violation What am I doing wrong? How can i improve my[详细]
2023-01-30 01:06 分类:问答How to choose the next center in the longest palindrome algorithm?
This is a question about the longest palindrome algorithm discussed here some time ago. The quoted blog post, which explains the algorithm, says: \"to pick the next center, take the center of the long[详细]
2023-01-29 09:50 分类:问答Creating a recursive method for Palindrome
I am trying to create a Palindrome program using recursion within Java but I am stuck, this is what I have so far:[详细]
2023-01-29 06:17 分类:问答Can I please get some feedback on this `isPalindrome()` function in C?
I\'m writing some useful functions in C. One of them is isPalindrome(). I figured to determine if a number is a palindrome or not, I should...[详细]
2023-01-22 17:17 分类:问答How can I optimise my awful code for finding the highest palindrome of a 3 digit number?
This is what I have written so far. It compiles, and, as far as I can tell, it should \'work\' - if you were to give your computer an infinite amount of time to compute the answer ![详细]
2023-01-21 15:30 分类:问答