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.
I would like to see some feedback on tests that my code failed.
I had so many times a good and interesting kata stuck on one or few failed tests. Some time it's my oversight sometimes it's poor description and may be a typo on the test case. However you just don't know what is wrong with it. It passes all the tests you have writen buy not ones that author did.
Hi, I'm not sure if you can see my code or not. However if you want I can paste it here to check.
My point is that when I do final attempt it fails on second test. All others are passed fine. It pisses me off that I can't see errors when it fails. It works fine on my computer and if it fails it should give some feedback. Show me the test cases that are failing and what do you expect to get it back. Thanks
This comment is hidden because it contains spoiler information about the solution
Well, first of all its good that you are not taking my words offensively. :)
"In English and programming, groups can be made using symbols such as "()" and "{}" that change meaning." - when I read this it implies that there is some meaning in English and/or programming context. Brackets have no meaning on its own, so this tells me that tests just not complete. Anyway this is just me.
What I'm reading in the description is the input string can only contain braces of three sorts, and nothing else.
The kata tests support this understanding.
So I'd say you're trying to see this kata as something more than it actually is. :)
While this code works for checking strings with only brackets, it fails if you call like so group_check("(something)"). Which in my understanding is a must.(read description).
I'm commenting here not to show that I'm better programmer. Quite opposite, I'm trying to learn programming that why I study the best solutions.
This comment is hidden because it contains spoiler information about the solution