Search
⌘K

Leetcode 3024. Type of Triangle

Given three side lengths, determine whether they satisfy the triangle inequality (sum of any two sides > the third) and, if so, classify the triangle as "equilateral", "isosceles", or "scalene" based on side equality; otherwise return "none.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.