Add all the A tasks
This commit is contained in:
parent
2dd7375f96
commit
051504d65b
1608 changed files with 18584 additions and 0 deletions
2
Task/Anonymous-recursion/Ruby/anonymous-recursion-2.rb
Normal file
2
Task/Anonymous-recursion/Ruby/anonymous-recursion-2.rb
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
(-2..12).map { |i| fib i rescue :error }
|
||||
=> [:error, :error, 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144]
|
||||
Loading…
Add table
Add a link
Reference in a new issue