You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* The Longest Common Prefix (LCP) of a set of strings is the longest substring that appears at the beginning of each of the strings in the set. For example, given the strings:
7
+
"flower"
8
+
"flow"
9
+
"flight"
10
+
The longest common prefix is "fl", as it is the longest substring that is common at the start of all three strings. */
0 commit comments