Common Substring In Two Strings Hackerrank Solution, The … Short Problem Definition: You are given two strings, A and B.