Commit 48cfcfb
Changed files (2)
2020
08
2020/08/17/main.rb
@@ -22,4 +22,8 @@ end
=end
assert(Solution.run([4, 7, 1, -3, 2], 5))
+assert(!Solution.run([], 5))
+assert(!Solution.run([1], 5))
+assert(Solution.run([1,-3,7,8], 5))
+assert(Solution.run([3,1,3], 6))
puts "Yay!"
2020/08/17/TwoSum.pdf
Binary file