Module Expr Str Assign NameStore Str ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return Str Assign NameStore Call NameLoad NameLoad Assign NameStore Str Assign NameStore Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index NameLoad Assign NameStore Num While CompareLt NameLoad NameLoad body TryExcept body If CompareNotEq SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad NameLoad body Break AugAssignAdd NameStore Num handlers ExceptHandler type NameLoad body Break If CompareEq NameLoad NameLoad body AugAssignAdd NameStore NameLoad orelse Break Return NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore ListLoad Str Str Print Call AttributeLoad Call NameLoad attr NameLoad
N/A N/A 
Write a function to find the longest common prefix string amongst an array of strings.
 N/A __author__ Danyang Solution N/A N/A longestCommonPrefix N/A N/A self strs N/A N/A N/A 
        O(k*n)
        :param strs: a list of string
        :return: string, prefix
         N/A N/A strs N/A N/A N/A n N/A len strs N/A str_builder N/A min_len N/A min N/A N/A len string N/A string strs N/A i N/A range min_len N/A N/A char N/A N/A strs N/A 0 N/A i N/A j 0 N/A N/A j n N/A N/A N/A N/A N/A N/A N/A strs N/A j N/A i char N/A N/A N/A j 1 N/A N/A N/A IndexError N/A N/A N/A N/A j n N/A N/A str_builder char N/A N/A N/A str_builder N/A N/A N/A N/A __name__ __main__ N/A N/A strs N/A abc abcd N/A N/A N/A N/A Solution longestCommonPrefix strs