mirror of
https://github.com/jbranchaud/til
synced 2026-01-14 12:38:01 +00:00
Compare commits
2 Commits
copilot/up
...
4293420c13
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4293420c13 | ||
|
|
cff6592c4e |
@@ -21,5 +21,7 @@ at the same time when you call
|
|||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
list = [3,7,4,15,9,1,2]
|
list = [3,7,4,15,9,1,2]
|
||||||
|
|
||||||
|
list.minmax
|
||||||
#=> [1,15]
|
#=> [1,15]
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user