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.
There're no issues with the tests, and your solution is wrong.
This comment is hidden because it contains spoiler information about the solution
I can't valid the test.
I have one error for 103 test.
It's the last "Fixed test" in C.
Language? I already suggested that 3 months ago. Added a test to all languages.
My solution passed all tests and I only checked that the string began with "(" and ended with ")" and had an equal amount of each.
If there was a test with something like "()))((()" my solution SHOULD have failed since that is not a valid order for parenthesis, but it never did.
Shouldn't it be testing for that?
There are 12,694 solves in JS, so not an issue.
Next time, please use markdown formatting to post your code, as it makes it a lot easier to read.
This comment is hidden because it contains spoiler information about the solution
Use
print
to see the input, it'll appear above the test result.i am new to codewars .so i didnot know about spoiler thing.
anyway thanks that you point out my mistake. :)
Not a kata issue, it's a problem with your code, it doesn't account for character multiplicity. Print the input and see why it fails.
For example:
scramble('ban', 'banana') ==> False
Also, when posting code, mark your post as having spoiler content next time.
This comment is hidden because it contains spoiler information about the solution