Longest Common Substring In Leetcode Sql