I would like to eliminate duplicate key combinations stored in a list of lists and wanted suggestions on an efficient way to remove or mark duplicates. Let me explain the problem with an easy example. I have a list containing parts of name as separate elements in a list. A person can have 2 - n number of parts in his name.
Elements in a basic list contains parts of person's name and can appear in any order, in this case it has three parts { "Rajesh", "Kumar", "Singh" }. Similarly there can be a list of people names with their names appearing in any order as below
0 = { "Rajesh", "Kumar", "Singh" }
1 = { "William", "Robert" }
2 = { "John", "Anderson", "Jr" }
3 = { "Kumar", "Rajesh", "Singh" }
Item number 3 in above list needs to be eliminated as it has exactly 3 items in it and the parts match with item 0 though their order of appearance is different.
Thank you