about | help | code help+videos | done | prefs |
stingMirror
Write a method that turns a string into a palendrome by appending the reverse of that string to the end. Look at the test data for examples. You may only use the following string methods: .equals .length .substring .charAt. stingMirror("Testing") → "TestinggnitseT" stingMirror("Abcd") → "AbcddcbA" stingMirror("Xyz123") → "Xyz123321zyX" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 320
Copyright Nick Parlante 2017 - privacy