Back to course home
0% completed
Vote For New Content
7. Rectangle Validation (Easy)
Problem Statement
Table: Rectangle
This table stores the dimensions of rectangles. Each row contains the lengths of four sides of a rectangle.
+---------------+------+
| Column Name | Type |
+---------------+------+
| a | int |
| b | int |
| c | int |
| d | int |
+---------------+------+
(a, b, c, d) is the primary key for this table.
Each row of this table contains the lengths of four sides of a rectangle.
Determine for each set of four line segments whether they can form a rectangle
.....
.....
.....
Like the course? Get enrolled and start learning!
On this page