ISet<string> uniqueProducts = new HashSet<string>();
for(int i = 0; i < name.Count; i++)
{
uniqueProducts.Add(name[i] + " " + price[i] + " " + weight[i]);
}
return name.Count = uniqueProducts.Count;
Quick Sort Explained: Partitioning, Recursion & Time Complexity A practical explanation of Quick Sort using the ...