Kotlinlearncs.online LogoJava
Return to List

Homework: Min Cat

Imported By: Geoffrey Challen
/ Version: 2021.6.0
/ Adapted from CodingBat

Given two non-null Strings, concatenate them and return the result. However, if the Strings are different lengths, omit chars from the front of 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.