Solution for longest common subsequence

(common child)