#267. extraEnd
extraEnd
Background
Description
Given a string, return a new string made of 3 copies of the last 2 chars of the original string. The string length will be at least 2.
Format
Input
Output
Samples
Hello
"lololo"
ab
"ababab"
Hi
"HiHiHi"
Limitation
1s, 1024KiB for each test case.