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.
Also, of course, your specifications for how the decorations should be added is pretty much non-existent.
Your random tests are testing user function against itself.
Initial code is wrong (has wrong number of arguments).
Needs random test cases
Some questions:
In
decoratedTree(7, 2)
I suppose 2d argument is for number ofo
-decoration per "row" (It would be better to tell it explicitely).o
in 4th row of your tree ? :It seems there're spaces on the right too except the last one . . .