8 kyu
How do I compare numbers?
6,478 of 9,306Unnamed
Loading description...
Fundamentals
Debugging
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.
it was easy to fix, but I had to google then, why my fix worked :-)
No random tests in Python.
The necessity of random tests for an 8 kyu that is more easily solveable in the proper way is highly questionable. Nevertheless, tests added.
JS Translation! Please review and approve :))
This comment has been hidden.
This comment has been hidden.
so darn easy
this kata is harder than I thought
New here, but not sure why this is "8" - are language nuance issues really worth 8 (instead of say, 2 or 3) ?
8 is the easiest ... the hardest is 1
indeed! I ended up RTFMing on the "codewars" nomenclature. Thank you
did you answer it ?
This comment has been hidden.
Cool kata. But i think this is 7 kyu kata.
Groovy translation
Prolog translation added.
Could you have a look at https://www.codewars.com/kata/reducing-by-steps/discuss/crystal (tests) and tell if there is a more astute way to call a function as parameter of another one (I had to create local functions)?
All tests pass but I don't get the submit final button at all.
Try again, it happens from time to time.
Yeah. It worked without any code change after multiple attempts of resetting and starting over.
Once more: not the right place-( but which good book for Elixir?
No idea. Until 4 or 3 days ago I only heard that some language with this name exists.
Wow! Gifted man:-)
@Unnamed: Not the right place to post but where else: why all these forks of "Easy Line" ?:-)
Fork comments do send notifications, btw.
This comment has been hidden.
I think this is 7 kyu, not 8 kyu. Also I agree that decsription should include some info about what program is doing.
Translations in both Ruby and JS provided, if you want to approve them :)
Really nice kata for beginners and I hope many will try their hand here, bravo!
This comment has been hidden.
The problem description needs heavy clarification. It took me a while to figure out what it was actually asking.
Hm isn't that kinda the point of this Kata?
It's just an exercise of going throught the given code and test cases and then figure out what's wrong (aka bug hunting). Not sure if you can change the description without giving away too much of the solution... Maybe he/she could invent a little story or something to go with it?
I'm not saying that finding the bug is too hard- I agree that that's the point of the exercise. I'm arguing that it's unclear what the function is even supposed to be doing. The author should explain the desired output of the function for the range of possible inputs (perhaps with a little background on Hitchhiker's Guide for fun.)
I don't think a simple kata needs a complicated description. The example tests provide enough information to understand what the function should do.
Nice kata. A good exercise for beginners. :-)