5 kyu

Least Common Multiple

992 of 4,430xcthulhu

Description:

Write a function that calculates the least common multiple of its arguments; each argument is assumed to be a non-negative integer. In the case that there are no arguments (or the provided array in compiled languages is empty), return 1. If any argument is 0, return 0.

Mathematics
Algorithms

Stats:

CreatedOct 12, 2013
PublishedOct 12, 2013
Warriors Trained12717
Total Skips2037
Total Code Submissions32341
Total Times Completed4430
JavaScript Completions992
CoffeeScript Completions64
Python Completions2349
Haskell Completions318
Ruby Completions382
Objective-C Completions14
C# Completions320
COBOL Completions7
C Completions95
λ Calculus Completions6
Go Completions41
Lua Completions51
D Completions6
Total Stars222
% of votes with a positive feedback rating88% of 520
Total "Very Satisfied" Votes419
Total "Somewhat Satisfied" Votes74
Total "Not Satisfied" Votes27
Ad
Contributors
  • xcthulhu Avatar
  • jhoffner Avatar
  • bkaes Avatar
  • GiacomoSorbi Avatar
  • donaldsebleung Avatar
  • aweleshetu Avatar
  • Chrono79 Avatar
  • JohanWiltink Avatar
  • Voile Avatar
  • Souzooka Avatar
  • FArekkusu Avatar
  • Jomopipi Avatar
  • hobovsky Avatar
  • albertogcmr Avatar
  • trashy_incel Avatar
  • akar-0 Avatar
  • Kacarott Avatar
  • dfhwze Avatar
  • Just4FunCoder Avatar
  • fcr-- Avatar
Ad