CodeChef February Challenge MakeHimHappy LongestCommonPattern and LittleElefantSubArrays AC.