DSA Key Problems

Longest Common Prefix

Given a list of strings, return the longest prefix shared by every string, or an empty string if they share none.