1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2025-05-18 12:02:53 +02:00

style: lint ignore and .md files

This commit is contained in:
divlo
2020-11-15 10:56:27 +01:00
parent 9db51da1b0
commit 954cd934b7
12 changed files with 846 additions and 66 deletions

View File

@ -10,9 +10,9 @@ You may use multiple pairs that have the same numeric elements but different ind
For example `pairwise([7, 9, 11, 13, 15], 20)` returns `6`. The pairs that sum to 20 are `[7, 13]` and `[9, 11]`. We can then write out the array with their indices and values.
| Index | 0 | 1 | 2 | 3 | 4 |
|-------|---|---|----|----|----|
| Value | 7 | 9 | 11 | 13 | 15 |
| Index | 0 | 1 | 2 | 3 | 4 |
| ----- | --- | --- | --- | --- | --- |
| Value | 7 | 9 | 11 | 13 | 15 |
Below we'll take their corresponding indices and add them.