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.
This comment is hidden because it contains spoiler information about the solution
open to the harshest of criticisms on my code. thanks
was gonna say the exact same thing. maybe cuz theres a tiny bit of algebra 1 in it? ... 8kyu for sure
was gonna say the exact same thing. maybe cuz theres a tiny bit of algebra 1 in it? ... 8kyu for sure
false
I added "O"s at bottom and right to avoid the edge problem but probably shld just have an && statement in the bottom 2 if statements.
Issues started to pop up, so I approved.
If you mean sample tests, should be fixed. Please reset the trainer, reload the page, and verify.
The C# version of this Kata got the AreEqual arguments mixed:
Assert.AreEqual(Kata.ValidParentheses(str), expected, $"Incorrect answer for str = "{str}"");
"expected" should be the first argument, the result from the method should be the second argument.
This comment is hidden because it contains spoiler information about the solution
thats what i thought but wanted to be sure because the example doesnt cover this case.
This should return
false
, because it's not well balanced: the first parenthesis closes something what havent been open before.")))((("
Should this return true of false?
love this answer i just wonder how the hell he got there. mine worked just had way too much runtime.
gratz on 1 line
Loading more items...