from Questions.q0014LongestCommonPrefix.BruteForce import longestCommonPrefix

"""
x = ["flower","flow","flight"]
answer = "fl"
"""
x = ["dog","racecar","car"]
answer = ""



output = longestCommonPrefix(x)
if answer == output :
    print("right answer")
else:
    print("false")