Ziqi:[Longest Common Prefix] solution