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
You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
You propose an algorithm that is already present or has been mentioned in a previous issue.
You create a new issue without completing your previous issue.
Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.
Name:
[Longest Common Prefix]
About:
This program finds the Longest Common Prefix (LCP) among an array of strings. It starts by assuming the first string as the prefix and iteratively compares it with each subsequent string, updating the prefix to the common portion. If no common prefix exists, it stops early. The program is useful for applications like string analysis, autocomplete systems, and pattern matching.
Input:
Enter the number of strings: 3
Enter the strings:
String 1: flower
String 2: flow
String 3: flight
Output:
The longest common prefix is: fl
Labels:
new algorithm, gssoc-ext, hacktoberfest, level1
Assignees:
Contributor in GSSoC-ext
Want to work on it
The text was updated successfully, but these errors were encountered:
Issue will be closed if:
Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.
Name:
[Longest Common Prefix]
About:
This program finds the Longest Common Prefix (LCP) among an array of strings. It starts by assuming the first string as the prefix and iteratively compares it with each subsequent string, updating the prefix to the common portion. If no common prefix exists, it stops early. The program is useful for applications like string analysis, autocomplete systems, and pattern matching.
Input:
Output:
Labels:
new algorithm, gssoc-ext, hacktoberfest, level1
Assignees:
The text was updated successfully, but these errors were encountered: