Commit 48cfcfb

mo khan <mo.khan@gmail.com>
2020-08-17 16:43:08
Add write up on possible solutions for two sum
1 parent 3ee369b
Changed files (2)
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