About 1,790,000 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 - 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 word and co...

  3. 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.). All of …

  4. string - Palindrome in java - Stack Overflow

    Jan 23, 2022 · A palindrome is a word, sentence, verse, or even a number that reads the same forward and backward. In this java solution, we’ll see how to figure out whether the number or the string is …

  5. Java, Check if a String is a palindrome. Case insensitive

    Dec 30, 2014 · Java, Check if a String is a palindrome. Case insensitive Asked 12 years, 9 months ago Modified 10 years, 11 months ago Viewed 20k times

  6. 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){ System.out.println(isPalindrome("noon"...

  7. How to get the palindrome of a string in Java - Stack Overflow

    Mar 12, 2016 · In your code, you check front-half characters against back-half characters, and print palindrome / not palindrome on each character. Instead, you should loop through the whole string, …

  8. java - How to check whether a string is palindrome or not ... - Stack ...

    Aug 14, 2013 · 1 Im trying to code a palindrome. It has a user input string and the program will tell if it is a palindrome or not. I have searched the net for the code but it seems that when I have created …

  9. java - Check if an array is palindrome - Stack Overflow

    Mar 20, 2019 · You could check if the array is palindrome by comparing it with reversed copy of the original array. Using ArrayUtils.reverse from Apache commons:

  10. How to check if a number is palindrome in Java? [closed]

    Apr 20, 2017 · I am new in Java and I need to complete this program to check if an integer is palindrome. Please help.