-
Completed at: 2023-01-09T04:44:54.720Z
-
Completed languages: ruby
-
Tags: Fundamentals
-
Rank: 8 kyu
Given an array of integers your solution should find the smallest integer.
For example:
- Given
[34, 15, 88, 2]
your solution will return2
- Given
[34, -345, -1, 100]
your solution will return-345
You can assume, for the purpose of this kata, that the supplied array will not be empty.