Bluevine interview question

check common letters in two input strings