MATH || Solution of type of triangle problem
Approach\n- Triangle Properties - The sum of the length of the two sides of a triangle is greater than the length of the third side.\n\n# Complexity\n- Time com
# Approach\n- Triangle Properties - The sum of the length of the two sides of a triangle is greater than the length of the third side.\n\n# Complexity\n- Time complexity: O(1) - as all algorithms require constant time \n\n- Space complexity: O(1) - as no extra space is requried\n\n# Code\n```\nclass Solution:\n    def triangleType(self, nums: List[int]) -> str:\n        nums.sort()\n        answer = ["equilateral", "isosceles", "scalene"]\n        if nums[2] < nums[0] + nums[1]:\n            return answer[len(set(nums)) - 1]\n        else:\n            return "none"\n```
['Array', 'Math', 'Sorting', 'Python3']