8 kyu
Find the smallest integer in the array
32,073 of 299,419dukeofgarda
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 | 393723 |
Total Skips | 24722 |
Total Code Submissions | 557488 |
Total Times Completed | 299419 |
Java Completions | 32073 |
JavaScript Completions | 107470 |
Python Completions | 99925 |
C# Completions | 17189 |
PHP Completions | 6761 |
R Completions | 897 |
TypeScript Completions | 4310 |
Ruby Completions | 5266 |
Crystal Completions | 74 |
Scala Completions | 1071 |
Kotlin Completions | 2968 |
Haskell Completions | 1566 |
CoffeeScript Completions | 49 |
C++ Completions | 14599 |
NASM Completions | 92 |
Rust Completions | 3475 |
C Completions | 5732 |
Racket Completions | 97 |
Julia Completions | 135 |
Go Completions | 4196 |
Dart Completions | 1568 |
Lua Completions | 458 |
D Completions | 18 |
RISC-V Completions | 28 |
Groovy Completions | 27 |
Total Stars | 1522 |
% of votes with a positive feedback rating | 87% of 18900 |
Total "Very Satisfied" Votes | 14832 |
Total "Somewhat Satisfied" Votes | 3319 |
Total "Not Satisfied" Votes | 749 |