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
Similar Kata:
Stats:
Created | Oct 12, 2013 |
Published | Oct 12, 2013 |
Warriors Trained | 12717 |
Total Skips | 2037 |
Total Code Submissions | 32341 |
Total Times Completed | 4430 |
JavaScript Completions | 992 |
CoffeeScript Completions | 64 |
Python Completions | 2349 |
Haskell Completions | 318 |
Ruby Completions | 382 |
Objective-C Completions | 14 |
C# Completions | 320 |
COBOL Completions | 7 |
C Completions | 95 |
λ Calculus Completions | 6 |
Go Completions | 41 |
Lua Completions | 51 |
D Completions | 6 |
Total Stars | 222 |
% of votes with a positive feedback rating | 88% of 520 |
Total "Very Satisfied" Votes | 419 |
Total "Somewhat Satisfied" Votes | 74 |
Total "Not Satisfied" Votes | 27 |