0
/ 50
Given an outside string of length 4, such as "(())"
, and an inside string, return a new string where the inside is squeezed in the middle...
Given an outside string of length 4, such as "(())"
, and an inside string, return a new string where the
inside is squeezed in the middle of the outside string, e.g. "((sample))"
.
Examples:
squeezeString("<<>>","html") -> "<<html>>"
squeezeString("[[]]","List in a list") -> "[[List in a list]]"
Your feedback will appear here when you check your answer.