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

 

norm.krumpe@muohio.edu program9 > isPalindrome
prev  |  next  |  chance

A palindrome is a word that reads the same forwards and backwards, such as "mom", "dad", and "racecar". Given a string return whether that string is a palindrome. The string will always contain at least one character.


isPalindrome("mom") → true
isPalindrome("racecar") → true
isPalindrome("a") → true

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

boolean isPalindrome(String str) { }

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

Difficulty: 200

Copyright Nick Parlante 2017 - privacy