id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

byngcompsci@gmail.com Strings > isPalindrome
prev  |  next  |  chance

isPalindrome(String s) - returns true or false depending on whether String s is a palindrome - a word that is spelled the same forward and backward, such as bob or racecar. A palindrome must be 3 letters or longer. The method should ignore case - Racecar and RACEcar are both palindromes.


isPalindrome("racecar") → true
isPalindrome("Racecar") → true
isPalindrome("bob") → true

...Save, Compile, Run (ctrl-enter)

public boolean isPalindrome(String s) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Copyright Nick Parlante 2017 - privacy