Longest Common Prefix

AC Rate: 1224/4541
My Submissions

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


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