leetcode longestcommonprefix