Part 1. Definition
In this task, you are given two strings A, B. Find the longest common substring in the strings A and B.
Part 2. Example
PPdQTlHHTJEe, DydQTlHHVnmlLu
Answer: dQTlHH
Explanation: Here, 'dQTlHH' is the longest common substring in both the input strings 'PPdQTlHHTJEe' and 'DydQTlHHVnmlLu'.
Part 3. Exercise
joqrPsieTIpltQrDy, xmlYsieTIpRfrBM
Answer:
sieTIp