#278. middleTwo
middleTwo
Background
Description
Given a string of even length, return a string made of the middle two chars, so the string "string" yields "ri". The string length will be at least 2.
Format
Input
Output
Samples
string
"ri"
code
"od"
Practice
"ct"
Limitation
1s, 1024KiB for each test case.