Retired
Calculate Derivative #1 - Single Integer Equation (retired)
183 of 192user5651159
Loading description...
Fundamentals
Mathematics
Algorithms
Logic
Numbers
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.
Retired as a duplicate. See https://github.com/codewars/content-issues/issues/57.
This kata is a subject to a deduplication process here: https://github.com/codewars/content-issues/issues/57 . Please join the discussion and share your opinion so duplicate kata could be identified, and then retired.
Kata retired.
Ruby: Testing: 0x^27; Expecting: 0x^26 Testing: 139x^0; Expecting: 0x^-1
thats tests seems wrong, they inconsistent with description, sample tests and common sense
Ruby:
Testing: -191x^1; Expecting: -191x^0
. Input with^1
, output with^0
?..Ruby 3.0 should be enabled, see this to learn how to do it
Kata retired.
Is this really a 7 kyu kata ?!
Not 7 kyu at all. At least 6 kyu. Ridiculous.
Ruby translation kumited -- please check and approve (note: author is deleted)
APPROVED :)
Can you please break down each example into one pair per line? It's literally unreadable as of now.
(You can force a line break by inserting two whitespaces at the end of the line. Double line break denotes a paragraph break.)
huh, so that's how that works
Note that the initial code still has its argument named
str
.thanks, fixed
there's really a problem with the new rules for approval. Only 3 completions and this one is already approvable.
I raise this issue to give time to the author to change the description and/or the tests so that the kata does not go out of beta before it could have a "stable form".
Added examples to description and test cases to cover edge cases.
Looks like a duplicate: https://www.codewars.com/kata/derivatives-of-type-x-n And probably derivate #2 exists too (https://www.codewars.com/kata/derivative);-)
Looks like the derivatives-of-type-x-n has been backlogged with unresolved issues for a year. I doubt it's ever coming out of beta.
There's one little open issue;-)... It's easy to edit/correct it, haven't looked at it only remembered that i solved a similar one long ago;-) I think it's not a reason to create a same kata (the other one is solvable too)
But... i mark the issue as resolved (maybe tomorrow i will correct the older one)... So keep in mind: first search, second publish:-)...
@Smile67 or ZED.CWT: please stop downranking katas. This one is never 8kyu even if you solve it in less than 2 minutes
My ranking was 7kyu and i think it's not more;-)... By the way i think it's a duplicate
You're right, there is a similar one, with some minor differences (it looks at a polynomial). I didn't notice until you mentioned.
https://www.codewars.com/kata/derivative
hi,
"3x"
doesn't fit with the description. it should be"3x^1"
. Or you must change the descriptionstr
(this is a type in python) =>s
or something else.EDIT: If you want to test for edtge cases, you could test these:
ax^0
(or justa
if you modify the description) =>0
ax^1
(or justax
if you modify the description) =>a
0x^b
=> 0 (but is that useful...?)I really do need help with my math homework, thanks!
update of the message just above (it seems you posted just before my "edit")