Problem 77. Clean the List of Names
Given a list of names in a cell array, remove any duplications that result from different capitalizations of the same string. So if
给定单元格数组中的名称列表,删除同一字符串的不同大写所导致的任何重复。所以如果
names_in = {'bert','arthur','Bert','Fred'};
the
names_out = clean_list(names_in)
results in
names_out = {'bert','arthur','Fred'};
Always take the first occurrence of the duplicated string
总是取重复字符串的第一个出现