questions/35045-medium-longest-common-prefix/README.md
Write a type, LongestCommonPrefix that returns the longest common prefix string amongst a tuple of strings.
If there is no common prefix, return an empty string "".
type Common = LongestCommonPrefix<["flower", "flow", "flight"]>
// ?^ "fl"
type Uncommon = LongestCommonPrefix<["dog", "racecar", "race"]>
// ?^ ""
Inspired by LeetCode 14. Longest Common Prefix
<!--info-footer-start--><a href="../../README.md" target="_blank"></a> <a href="https://tsch.js.org/35045/answer" target="_blank"></a> <a href="https://tsch.js.org/35045/solutions" target="_blank"></a> <!--info-footer-end-->