this is a problem of longest common prefix , we have to find the longest common prefix in a array of strings but my solution is not giving output. can u please correct the code
this is a problem of longest common prefix , we have to find the longest common prefix in a array of strings but my solution is not giving output. can u please correct the code