Find the Length of the Longest Common Prefix

mediumSolve on LeetCodeLast edited: August 2, 2025