Skip to content

Commit 1f7b49f

Browse files
committed
docs: README
1 parent 3e5a072 commit 1f7b49f

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1504,13 +1504,13 @@ func generate(_ numRows: Int) -> [[Int]] {
15041504

15051505
<img src="https://github.com/lgreydev/Help/blob/master/Screenshots/spiral1.jpg" width="350"><img src="https://github.com/lgreydev/Help/blob/master/Screenshots/spiral.jpg" width="350">
15061506

1507-
**Example 1:**<br>
1508-
*Input:* `matrix = [[1,2,3],[4,5,6],[7,8,9]]`<br>
1509-
*Output:* `[1,2,3,6,9,8,7,4,5]`<br>
1507+
**Example 1:**<br>
1508+
> **Input:** `matrix = [[1,2,3],[4,5,6],[7,8,9]]`<br>
1509+
> **Output:** `[1,2,3,6,9,8,7,4,5]`<br>
15101510

1511-
**Example 2:**<br>
1512-
*Input:* `matrix = [[1,2,3,4],[5,6,7,8],[9,10,11,12]]`<br>
1513-
*Output:* `[1,2,3,4,8,12,11,10,9,5,6,7]`
1511+
**Example 2:**<br>
1512+
> **Input:** `matrix = [[1,2,3,4],[5,6,7,8],[9,10,11,12]]`<br>
1513+
> **Output:** `[1,2,3,4,8,12,11,10,9,5,6,7]`
15141514

15151515
``` swift
15161516

@@ -1570,18 +1570,18 @@ func spiralOrder(_ matrix: [[Int]]) -> [Int] {
15701570
**Notice** that you may not slant the container.
15711571

15721572

1573-
**Example 1:**<br>
1573+
**Example 1:**<br>
15741574

1575-
<img src="https://github.com/lgreydev/Help/blob/master/Screenshots/ContainerWithMostWater.jpg" width="350">
1575+
<img src="https://github.com/lgreydev/Help/blob/master/Screenshots/ContainerWithMostWater.jpg" width="450">
15761576

15771577

1578-
> *Input:* `height = [1,8,6,2,5,4,8,3,7]` <br>
1579-
> *Output:* `49` <br>
1580-
> *Explanation:* The above vertical lines are represented by array [1,8,6,2,5,4,8,3,7]. In this case, the max area of water (blue section) the container can contain is 49.
1578+
> **Input:** `height = [1,8,6,2,5,4,8,3,7]` <br>
1579+
> **Output:** `49` <br>
1580+
> **Explanation:** The above vertical lines are represented by array [1,8,6,2,5,4,8,3,7]. In this case, the max area of water (blue section) the container can contain is 49.
15811581

15821582
**Example 2:**<br>
1583-
> *Input:* `height = [1,1]`<br>
1584-
> *Output:* `1`<br>
1583+
> **Input:** `height = [1,1]`<br>
1584+
> **Output:** `1`<br>
15851585

15861586
``` swift
15871587

0 commit comments

Comments
 (0)