Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit dbe4238

Browse files
codedgeactions-user
authored andcommitted
Prettified Code!
1 parent 6831a3c commit dbe4238

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ Given an array of `A[2, 3, -1, 1, 6, 4]`.
5858

5959
![](./docs/t4/task4.png)
6060

61-
* Jump 1: `A[0]` + `2` = `A[2]`
62-
* Jump 2: `A[2]` + `(-1)` = `A[1]`
63-
* Jump 3: `A[1]` + `3` = `A[4]`
64-
* Jump 4: `A[4]` + `6` = out of range
61+
- Jump 1: `A[0]` + `2` = `A[2]`
62+
- Jump 2: `A[2]` + `(-1)` = `A[1]`
63+
- Jump 3: `A[1]` + `3` = `A[4]`
64+
- Jump 4: `A[4]` + `6` = out of range
6565

6666
So the result is `4`, you need `4` jumps to jump out of the array.
6767

@@ -77,13 +77,13 @@ _Do not_ use nested loops to solve this problem, because of a time complexity of
7777

7878
**Example:**
7979

80-
* `A[0]` + `A[8]` = `1` + `5` = `6`
81-
* `A[1]` + `A[6]` = `8` + `-2` = `6`
82-
* `A[4]` + `A[8]` = `1` + `5` = `6`
83-
* `A[5]` + `A[5]` = `3` + `3` = `6`
84-
* `A[5]` + `A[5]` = `3` + `3` = `6`
85-
* `A[6]` + `A[1]` = `-2` + `8` = `6`
86-
* `A[8]` + `A[0]` = `5` + `1` = `6`
80+
- `A[0]` + `A[8]` = `1` + `5` = `6`
81+
- `A[1]` + `A[6]` = `8` + `-2` = `6`
82+
- `A[4]` + `A[8]` = `1` + `5` = `6`
83+
- `A[5]` + `A[5]` = `3` + `3` = `6`
84+
- `A[5]` + `A[5]` = `3` + `3` = `6`
85+
- `A[6]` + `A[1]` = `-2` + `8` = `6`
86+
- `A[8]` + `A[0]` = `5` + `1` = `6`
8787

8888
## Contribute
8989

0 commit comments

Comments
 (0)