8 kyu
Find the smallest integer in the array
105,466 of 292,634dukeofgarda
Description:
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.
Fundamentals
Similar Kata:
Stats:
Created | Jul 12, 2015 |
Published | Jul 12, 2015 |
Warriors Trained | 385236 |
Total Skips | 24257 |
Total Code Submissions | 546072 |
Total Times Completed | 292634 |
Java Completions | 31554 |
JavaScript Completions | 105466 |
Python Completions | 97112 |
C# Completions | 16864 |
PHP Completions | 6657 |
R Completions | 890 |
TypeScript Completions | 4175 |
Ruby Completions | 5226 |
Crystal Completions | 72 |
Scala Completions | 1065 |
Kotlin Completions | 2910 |
Haskell Completions | 1548 |
CoffeeScript Completions | 48 |
C++ Completions | 14052 |
NASM Completions | 90 |
Rust Completions | 3391 |
C Completions | 5593 |
Racket Completions | 95 |
Julia Completions | 133 |
Go Completions | 4023 |
Dart Completions | 1517 |
Lua Completions | 436 |
D Completions | 16 |
RISC-V Completions | 26 |
Groovy Completions | 22 |
Total Stars | 1490 |
% of votes with a positive feedback rating | 87% of 18728 |
Total "Very Satisfied" Votes | 14689 |
Total "Somewhat Satisfied" Votes | 3294 |
Total "Not Satisfied" Votes | 745 |