Easy To Understand | Beats 100% | O(1) | 0ms runtime 🔥🧯
Intuition - FOR THE LACKWITS!!Two Side Sum < Third Side - Not a Triangle
All Sides Equal - Equilateral
Two Sides Equal - Isosceles
No Side Equal - ScaleneApproa
# Intuition - FOR THE LACKWITS!!
<!-- Describe your first thoughts on how to solve this problem. -->
Two Side Sum < Third Side - Not a Triangle
All Sides Equal - Equilateral
Two Sides Equal - Isosceles
No Side Equal - Scalene

# Approach
<!-- Describe your approach to solving the problem. -->
If if elif elif else else

# Complexity
- Time complexity:
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

- Space complexity:
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```python3 []
class Solution:
    def triangleType(self, nums: List[int]) -> str:
        x, y, z = nums
        if x+y>z and y+z>x and z+x>y:
            if x == y == z:
                return "equilateral"
            elif x == y or y == z or z == x:
                return "isosceles"
            else:
                return "scalene"
        else:
            return "none"
```
['Array', 'Math', 'Sorting', 'C++', 'Python3', 'MySQL']