Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT arr = [ " abcde " , " abcce " , " abcdf " , " abcde " ] NEW_LINE N = len ( arr ) NEW_LINE print ( distinct_str ( arr , N ) ) NEW_LINE DEDENT