6 kyu
Find Number With Maximum Number Of Divisors
287 of 511A D L Σ R
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.
クール ─── ⋆⋅☆⋅⋆ ──
simple but timeouts are irritating, at the end really pleasing!! Nice Kata! Thanks ADLER!
JS: Node v12 should be used along with its appropiate assertion tools (Mocha + Chai). Refer to this and this
Python translation kumited -- please check and approve
Ruby translation submitted :)
The Ruby version should use
div_num
in both cases, the initial solution and the test cases. Right now it'sdivNum
for the initial code -- which is a bit misleading and doesn't follow the (usual) Ruby style guide.Ah, my mistake. Just tried changing it but unfortunately I'm getting an error; I think the original author will have to change it. Sorry about that :(
This comment has been hidden.
This comment has been hidden.
Divisors are not prime factors.
Auch, my bad, thanks!
Please use
Test.assertEquals
instead ofTest.assertSimilar
. The quoting and escaping is driving me crazy.Returning inconsistent datatypes is not a best practice. Consider requesting
-1
as a return value, or anError
be thrown.Please specify that "the interval from
a
tob
" is inclusive.This comment has been hidden.
User issue, not kata issue. That would make it a
Question
.Help us help you. Markup your code properly. I'm not going to read this.