0ms very easy java code
IntuitionApproachComplexity
Time complexity:

Space complexity:
Code
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```java []\nclass Solution {\n    public String triangleType(int[] nums) {\n        if ( nums[0] + nums[1] <= nums[2] || nums[0] + nums[2] <= nums[1] || nums[2] + nums[1] <= nums[0]) { return "none";}\n        else if (nums[0] == nums[1] && nums[1] == nums[2]) { return "equilateral"; }\n        else if (nums[0] == nums[1] || nums[1] == nums[2] || nums[0] == nums[2]) { return "isosceles";}\n        return "scalene";\n    }\n}\n```
['Java']