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 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 Trained385236
Total Skips24257
Total Code Submissions546072
Total Times Completed292634
Java Completions31554
JavaScript Completions105466
Python Completions97112
C# Completions16864
PHP Completions6657
R Completions890
TypeScript Completions4175
Ruby Completions5226
Crystal Completions72
Scala Completions1065
Kotlin Completions2910
Haskell Completions1548
CoffeeScript Completions48
C++ Completions14052
NASM Completions90
Rust Completions3391
C Completions5593
Racket Completions95
Julia Completions133
Go Completions4023
Dart Completions1517
Lua Completions436
D Completions16
RISC-V Completions26
Groovy Completions22
Total Stars1490
% of votes with a positive feedback rating87% of 18728
Total "Very Satisfied" Votes14689
Total "Somewhat Satisfied" Votes3294
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