Skip to content

Commit 5cb6be9

Browse files
committed
63 readme updated
1 parent 87c7758 commit 5cb6be9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

603-consecutive-available-seats/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ seat_id is an auto-increment primary key column for this table.
1212
Each row of this table indicates whether the ith seat is free or not. 1 means free while 0 means occupied.
1313
```
1414

15+
<br/>
16+
1517
Write an SQL query to report all the consecutive available seats in the cinema.
1618

1719
Return the result table **ordered** by `seat_id` in **ascending** order.
@@ -20,6 +22,8 @@ The test cases are generated so that more than two seats are consecutively avail
2022

2123
The query result format is in the following example.
2224

25+
<br/>
26+
2327
**Example 1:**
2428

2529
```markdown
@@ -43,3 +47,7 @@ output:
4347
| 5 |
4448
+---------+
4549
```
50+
51+
<br/>
52+
53+
Refer to 603-consecutive-available-seats.sql for my solution.

0 commit comments

Comments
 (0)