LeetCode: Longest Common Prefix
Problem https://leetcode.com/problems/longest-common-prefix/ Code: class Solution: def longestCommonPrefix(self, strs: List[str]) -> str: current_prefix = strs[0] for word in strs: while not word.startswith(current_pre...