I aim to write code for a function to find the longest common prefix string amongst an array of strings.
If there is no common prefix, return an empty string "". This problem is one of the leetcode problem statements I solved recently. Please assign this issue to me. Thank you!