Send Feedback

Longest Common Prefix

Total Accepted: 6189 Total Submissions: 23106 My Submissions

Write a function to find the longest common prefix string amongst an array of strings.

Discuss


You have not signed in, cannot submit your code.
Submit failed, try again please.
You have attempted to resubmit too soon. Please resubmit in a moment.

Send Feedback