Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
4 months later, i agree!! and forever
This is an issue with your code, you need to make sure your string terminates properly to stop memory allocation! (Not a kata issue)
Consider adding another test case:
step = 4, start = 12, end = 16
Which I believe should return [0, 0] as some solution will fail this.
11, {12, 13!, 14, 15, 16}, 17!
Thanks, I just needed to read instructions carefully.
There are no errors in the tests.
I believe there may be an issue with one of the test, but it could be my BASH code!
I am passing the basic tests, but when clicking the "Attempt" button I am getting a fail.
In trying to debug the situtation I am returning the parameters passed in which are as follows.
But when I look at the prime numbers between 100 - 110 (inclusive) I get the following with step count.
Am I missing something or is there an issue with the test?
When you post an issue: give input and result of the test (written in red).
BTW there are no errors in the tests.
In BASH test failing when EXPECTED == ACTUAL are the same?
Test case for movies (card = $0, ticket = $10, and percentage = 0.95) == 2 cannot be as if the card doesn't cost anything and you get the card then the first movie with the card will be less then not having the card for the first movie. Or am I missing something?
This comment is hidden because it contains spoiler information about the solution
What language?
Couldn't find ~~ in the GNU bash manual nor in the manpages, but it sure is working under bash version 5.1.4
It really makes it easy to reverse case.
I don't think the test cases should have passed this as each count is not on a separate line?
The following would have worked, ignoring the while-loop requirement.
printf "Count: %s\n" {1..20}
There seems to be an issue with a test case here?
I have tried with validating pointers, accepting any char and char only between 0 - 9,
but always failing ATTEMPT.
This comment is hidden because it contains spoiler information about the solution