LeetCode Solution, Easy, 14. Longest Common Prefix