longest Common Prefix