LeetCode Longest Common Prefix