Easy solution 🧠
IntuitionApproachComplexity
Time complexity:

Space complexity:
Code
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->

# Approach
<!-- Describe your approach to solving the problem. -->

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

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

# Code
```java []
class Solution {
    public String triangleType(int[] nums) {
        int a=nums[0];
        int b=nums[1];
        int c=nums[2];
        // condition to form a Triangle 
        if(a+b<=c ||b+c<=a || c+a<=b) return "none";

        if(a==b && b==c) return "equilateral";
        if(a==b || b==c || c==a) return "isosceles";
        return "scalene";
    }
}
```
['Java']