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.
IDK it's a glitch or not. But you need to add a reaction to get the proper honor.
hehe I was working on it on the train and noticed the mistake I made, thanks :) I got it to submit with the extra nested bracket code.
You're actually failing test
[>*]
with your code.You have a bug in the section of your code where you handle the command '[' and ']'.
Hint: What type does tapeList in your code hold?
This comment is hidden because it contains spoiler information about the solution
Would you mind posting your full solution here (and mark it as spoiler)?
That's definitely something I didn't think about, but the test case doesn't have any nested brackets so it should still be returning the correct result.
The code snippet you provided does not handle nested brackets properly. For example, in the program shown below, it will match the following opening and closing brackets together which is incorrect:
This comment is hidden because it contains spoiler information about the solution
Is this still accurate: https://airtable.com/embed/shrDt7USqZ7GStRb0/tbly10FthXIRqbd7L/viwJf0lpHrvPCKNfb ?
I've completed multiple 5/6 kyu katas and only got 2 points for them but the chart say I should be getting 8. I am at 5kyu atm. This is one I just completed that only gave me 2 points: https://www.codewars.com/kata/586dd26a69b6fd46dd0000c0/discuss
Expected and actual are both <System.Linq.OrderedEnumerable`2[System.String,System.String]>
Values differ at index [2]
String lengths are both 4. Strings differ at index 2.
Expected: "0002"
But was: "0010"
-------------^
Unless I'm missing something, I think the c# unit tests are busted.
Edit: the unit tests are swapped around, so my output was the "expected"