Longest Common Substring Leetcode Problem 5432