#275. right2
right2
Background
Description
Given a string, return a "rotated right 2" version where the last 2 chars are moved to the start. The string length will be at least 2.
Format
Input
Output
Samples
Hello
"loHel"
java
"vaja"
Hi
"Hi"
Limitation
1s, 1024KiB for each test case.