https://oj.leetcode.com/problems/longest-common-prefix/