add leetcode longest common prefix problem solution