Retired
Find The Minimum Number Divisible by Integers of an Array I (retired)
144 of 200raulbc777
Loading description...
Fundamentals
Mathematics
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
This kata has been included in a discussion about possible duplicate issue on Codewars' gitHub: https://github.com/codewars/content-issues/issues/90
Feel free to comment and give your opinion there to help solve the issue.
JS: results may exceed the safe integer range. Either reduce input sizes in JS or (better) return
BigInt
in JS.kata was retired
JS: Node v14 should be used along with its appropiate assertion tools (Mocha + Chai). Refer to this and this
Updated to Node v14
Ruby 3.0 should be enabled.
Kata retired.
The main problem sure, it's a 6kyu, but the error checking should make this a 5kyu. What a joke classifying this as a 6!
Python 3 should be enabled.
Thanks. I'll try to do it in this afternoon.
.
Hi! I'm running into this error:
Testing for [-76, 86, -51, 7, 64, -71, 97, 25, 17, 98, 50, 2, 75, -2, -59, 39, 86, -65, 77, 92] It should work with random inputs too - Expected: 1.9863952136289137e+21, instead got: 4365703766217393700
Is this a bug? I've checked the output on an online LCM calculator and we both have the same answer. (http://www.calculator.net/lcm-calculator.html?numberinputs=98%2C97%2C92%2C86%2C77%2C76%2C75%2C71%2C65%2C64%2C59%2C51%2C50%2C39%2C25%2C17%2C7%2C2&x=94&y=9)
This is a really nice kata, and I really would like to finish it. Please let me know if there was just a bug in the test case. Thanks!
This comment has been hidden.
IMO the checking of None ans nil, and non-integer characters detracts from the spirit of the problem.
And both Ruby and JS version finally delivered; sorry for the delay, but I got a bit busy here and wanted to be extra-sure they were close to your quality standards :)
I can't approve the Js version. It says that recent changes must be merged first.
You can also fork it and fix the merge yourself, see sec handling merge conflicts.
Try now and please also consider that Ruby has
nil
, notNone
; JS hasnull
, but you know it already :)Nice problem. I actually liked the added detail avoiding None and non-integers as it forced me to think a little more about how to deal with them. (did in python)