#35. backAround
backAround
Background
Description
Given a string, take the last char and return a new string with the last char added at the front and back, so "cat" yields "tcatt". The original string will be length 1 or more.
Format
Input
Output
Samples
cat
"tcatt"
Hello
"oHelloo"
a
"aaa"
Limitation
1s, 1024KiB for each test case.