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
If no numbers equal "target", it would raise an exception with "index out of bound" on the inner loop.
Not very durable. Maybe that should of been one of the tests?!
If anyone has issues with testing or submitting with errors like:
tests/Fixture.cs(16,30): error CS0120: An object reference is required for the non-static field, method, or property 'Kata.CustomChristmasTree(string, int)'
You simply need to make the method CustomChristmasTree(string chars, int n) into a static method.
i.e.
public static string CustomChristmasTree(string chars, int n)