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

 

jebbert@volusia.k12.fl.us > aaa2reverseIt
prev  |  next  |  chance

Write a RECURSIVE method that returns the string parameter in reverse order. Look at the test data for examples. Note that palindromes are the same forwards and backwards and that some of the test data are palindromes.


aaa2reverseIt("testing") → "gnitset"
aaa2reverseIt("run") → "nur"
aaa2reverseIt("amanaplanacanalpanama") → "amanaplanacanalpanama"

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

public String aaa2reverseIt(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: 480

Copyright Nick Parlante 2017 - privacy