Open Unayak900 opened 2 years ago
I have two string from here i need to find the common prefix as shown below Input: strs = ["flower","flow","flight"] Output: "fl"
I have two string from here i need to find the common prefix as shown below Input: strs = ["flower","flow","flight"] Output: "fl"