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 return 2
  • 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

Stats:

CreatedJul 12, 2015
PublishedJul 12, 2015
Warriors Trained393723
Total Skips24722
Total Code Submissions557488
Total Times Completed299419
Java Completions32073
JavaScript Completions107470
Python Completions99925
C# Completions17189
PHP Completions6761
R Completions897
TypeScript Completions4310
Ruby Completions5266
Crystal Completions74
Scala Completions1071
Kotlin Completions2968
Haskell Completions1566
CoffeeScript Completions49
C++ Completions14599
NASM Completions92
Rust Completions3475
C Completions5732
Racket Completions97
Julia Completions135
Go Completions4196
Dart Completions1568
Lua Completions458
D Completions18
RISC-V Completions28
Groovy Completions27
Total Stars1522
% of votes with a positive feedback rating87% of 18900
Total "Very Satisfied" Votes14832
Total "Somewhat Satisfied" Votes3319
Total "Not Satisfied" Votes749
Ad
Contributors
  • dukeofgarda Avatar
  • jhoffner Avatar
  • paweln1986 Avatar
  • Javatlacati Avatar
  • joh_pot Avatar
  • GiacomoSorbi Avatar
  • Jotha Avatar
  • matt c Avatar
  • anter69 Avatar
  • SleepingCode Avatar
  • hnefatl Avatar
  • Chrono79 Avatar
  • kazk Avatar
  • phantamanta44 Avatar
  • Blind4Basics Avatar
  • a.merezhanyi Avatar
  • Voile Avatar
  • S!D Avatar
  • mitron6 Avatar
  • Souzooka Avatar
  • MrZizoScream Avatar
  • mentalplex Avatar
  • fireflyoo Avatar
  • Bubbler Avatar
  • particleflux Avatar
  • FArekkusu Avatar
  • monadius Avatar
  • hobovsky Avatar
  • uniapi Avatar
  • trashy_incel Avatar
  • pyMark Avatar
  • ejini战神 Avatar
  • akar-0 Avatar
  • dfhwze Avatar
  • ethan67 Avatar
  • FranzMartyn Avatar
  • XoRMiAS Avatar
Ad