LeetCode

Longest Common Prefix

Click here for an explanation.