Given an array of strings, return the length of the common prefix. Words may not be split. Any space after a word is included in the length.
Array of strings.
Optional
Length of shortest string.
Length of common prefix.
Given an array of strings, return the length of the common prefix. Words may not be split. Any space after a word is included in the length.