Sort & Conditions!!
\nclass Solution {\npublic:\n    string triangleType(vector<int>& nums) {\n    sort(nums.begin(), nums.end());\n\n    if (nums[0] + nums[1] > nums[2]) {\n      
```\nclass Solution {\npublic:\n    string triangleType(vector<int>& nums) {\n    sort(nums.begin(), nums.end());\n\n    if (nums[0] + nums[1] > nums[2]) {\n        if (nums[0] == nums[1] && nums[1] == nums[2]) {\n            return "equilateral";\n        } else if (nums[0] == nums[1] || nums[1] == nums[2]) {\n            return "isosceles";\n        } else {\n            return "scalene";\n        }\n    } else {\n        return "none";\n    }\n    }\n};\n```
['C', 'Sorting']