Search
⌘K

Leetcode 3053. Classifying Triangles by Lengths

Given three integers as side lengths, determine whether they form a valid triangle (positive lengths satisfying the triangle inequality) and classify it as "Equilateral", "Isosceles", "Scalene", or "Invalid" based on side equality and feasibility.


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.