diff --git a/problems/two-sum.json b/problems/two-sum.json new file mode 100644 index 0000000..a1c45ff --- /dev/null +++ b/problems/two-sum.json @@ -0,0 +1,7 @@ +[ + { "input": [[2, 7, 11, 15], 9], "expected": true }, + { "input": [[1, 2, 3], 7], "expected": false }, + { "input": [[3, 3], 6], "expected": true }, + { "input": [[-1, -2, -3, -4], -6], "expected": true }, + { "input": [[5], 5], "expected": false } +]