LeetCode 610: Triangle Judgement [SQL]

preview_player
Показать описание
Solution and walkthrough of leetcode database problem 610: Triangle Judgement. I'm using MySQL but this solution should work in any SQL dialect such as PostgreSQL SQL Server, etc.

Playlists:

Рекомендации по теме
Комментарии
Автор

it's more related to a geometrical question. Knowing the feature of triangles would be easier to solve the question.
Here is the geometrical definition for triangles: the sum of any two legs of a triangle must be greater than the third leg.

hgocersz
Автор

the logic behind this is, sum of the lengths of any two sides of the triangle should be greater than the third side.

AKothavikramreddy
Автор

Woah woah this is insane. Yesterday I solved this!

tansmay
Автор

Geometric question in a SQL interview is sure painful!

UmaAndLak
Автор

Thanks. Great explanation. Kindly make python leetcode question video.

rishigupta
visit shbcf.ru