#291. minCat
minCat
Background
Description
Given two strings, append them together (known as "concatenation") and return the result. However, if the strings are different lengths, omit chars from the longer string so it is the same length as the shorter string. So "Hello" and "Hi" yield "loHi". The strings may be any length.
Format
Input
Output
Samples
Hello" "Hi
"loHi"
Hello" "java
"ellojava"
java" "Hello
"javaello"
Limitation
1s, 1024KiB for each test case.