About 41,600 results
Open links in new tab
  1. Java way to check if a string is palindrome - Stack Overflow

    Aug 9, 2017 · I want to check if a string is a palindrome or not. I would like to learn an easy method to check the same using least possible string manipulations

  2. java - Creating a recursive method for Palindrome - Stack Overflow

    Dec 6, 2010 · I am trying to create a Palindrome program using recursion within Java but I am stuck, this is what I have so far: public static void main (String[] args){ …

  3. java - Check string for palindrome - Stack Overflow

    A palindrome is a word, phrase, number or other sequence of units that can be read the same way in either direction. To check whether a word is a palindrome I get the char array of the …

  4. java - The fastest method of determining if a string is a palindrome ...

    Jan 28, 2014 · I need an algorithm that verify with the fastest possible execution time, if a string is a palindrome ( the string can be a proposition with uppercase or lowercase letter, spaces etc.). …

  5. Palindrome tester with Java, ignoring spaces and punctuation

    Palindrome tester with Java, ignoring spaces and punctuation Asked 16 years ago Modified 8 years, 3 months ago Viewed 43k times

  6. java - Palindrome Checker using StringBuilder - Stack Overflow

    May 26, 2017 · Im trying to create a palindrome checker. I am using a StringBuilder and I've discovered that appending spaces are kind of tricky. EDIT: are there other ways besides using …

  7. java - String palindrome without using built in functions - Stack …

    Oct 1, 2016 · I want to make program for String palindrome without using built in functions. Below is the code i have tried so far : public class Palindrom { private static Scanner in; pu...

  8. string - Palindrome in java - Stack Overflow

    Jan 23, 2022 · Here what I tried sample input is "aabaa" eg: in if condition val[0] = a[4] if it is equal i stored it in counter variable if it is half of the length it original string it is palindrome...

  9. java 8 - Palindrome of int using lambda expression - Stack Overflow

    Apr 22, 2018 · Is there a better way to find an integer is palindrome or not using lambda expression. I tried something like this, it worked but looking for better approaches. public static …

  10. Determining a Palindrome using Stack and Queue in java

    You're deciding that it's a palindrome as soon as the first character of the stack is equal to the first character of the queue. If you're filling two different data structures anyway, why don't you just …