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:
@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user