mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2024-11-09 22:08:58 +01:00
23 lines
291 B
JSON
23 lines
291 B
JSON
|
[
|
||
|
{
|
||
|
"input": [[1, 4, 2, 3, 0, 5], 7],
|
||
|
"output": 11
|
||
|
},
|
||
|
{
|
||
|
"input": [[1, 3, 2, 4], 4],
|
||
|
"output": 1
|
||
|
},
|
||
|
{
|
||
|
"input": [[1, 1, 1], 2],
|
||
|
"output": 1
|
||
|
},
|
||
|
{
|
||
|
"input": [[0, 0, 0, 0, 1, 1], 1],
|
||
|
"output": 10
|
||
|
},
|
||
|
{
|
||
|
"input": [[], 100],
|
||
|
"output": 0
|
||
|
}
|
||
|
]
|