Data Structure & Algorithm: Level-1 Problem #24. Common Prefix
Given a list of words, find out the longest common prefix among them. If there is no common prefix, return an empty string. Sample Input: integer, integrity, integrate, interim Sample…