7 kyu
Hop Across
257 of 561marbiru
Loading description...
Fundamentals
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.
python new test framework is required. updated in this fork
Approved
This is a terrible piece of trash.
Keep up this attitude and I'll report you.
Not if I report you first 😂😂😂
P. S. I have reported you for cyber-stalking me. Clearly, you have nothing better to do than follow my comments around.
The description, or I'd rather say, the problem is not entirely correct. For example, let's take the example we have only one stone. According to the existing conditions, it would take only 2 steps to go across and over. In reality, there are 4 steps:
(across)
(back)
shore - stone - 1 step
stone - other shore - 1 step
Total: 4 steps.
As it is, the problem does not count the steps from the shore to the first stone.
This comment has been hidden.
Nope, that one teaches a more in-depth concept
How satisfied are you whith this kata? — VERY
ah, thanks very much!
Javascript (and likely other language versions) are susceptible to input mutation which can allow illegitimate solutions to pass.
For example, see this solution: https://www.codewars.com/kata/reviews/5a635c247f35873de20000ef/groups/5a6431ae1c761f30b1000a6d
Ill sort this asap
Sorted Javascript and Ruby
Hi, I made a C# translation for this Kata.
The code should be fairly straightforward, let me know if you have any questions.
Fantastic, approved, thanks very much!
Cool Kata!
Submitted Groovy Translation: https://www.codewars.com/kumite/5a61328ad8e1457e0500000e
.
https://www.codewars.com/kata/frog-jumping looks similar to this, that one has some additional constraints though.
ah, right, thanks for bringing that to my attention. I'll unpublish this for a while and maybe add a different twist to it. Thanks!
Ok, I've tweaked the kata -- I think that now it genuinely tests some (slightly) different skills, let me know what you think!
Looks great.