Erfan Alimohammadi's submission of Longest Common Pattern | CodeChef