Longest Common Prefix
Find the longest leading text shared by every string in a list. The visual starts from the first string as a candidate prefix and trims it one character at a time until each other string starts with it.
Find the longest leading text shared by every string in a list. The visual starts from the first string as a candidate prefix and trims it one character at a time until each other string starts with it.