8 kyu

Find the smallest integer in the array

31,603 of 293,316dukeofgarda

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 Trained386098
Total Skips24295
Total Code Submissions547226
Total Times Completed293316
Java Completions31603
JavaScript Completions105682
Python Completions97384
C# Completions16900
PHP Completions6678
R Completions891
TypeScript Completions4199
Ruby Completions5231
Crystal Completions73
Scala Completions1066
Kotlin Completions2918
Haskell Completions1549
CoffeeScript Completions48
C++ Completions14095
NASM Completions90
Rust Completions3402
C Completions5606
Racket Completions95
Julia Completions133
Go Completions4036
Dart Completions1523
Lua Completions437
D Completions16
RISC-V Completions26
Groovy Completions22
Total Stars1493
% of votes with a positive feedback rating87% of 18743
Total "Very Satisfied" Votes14703
Total "Somewhat Satisfied" Votes3295
Total "Not Satisfied" Votes745
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