##
Count number of unique Triangles using STL | Set 1 (Using set)
May 23, 2016

We are given n triangles along with length of their three sides as a,b,c. Now we need to count number of unique triangles out of these n given triangles. Two triangles are different from one another if they have at least one of the sides different. Example: Input: arr[] = {{1, 2, 2}, {4, 5,… Read More »