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'd say it would be an actual 6 kyu if it required you to do it in O(1)
Seems like you've solved it! But you missed this part of the description -->
Any characters in a MiniStringFuck program other than + or . are simply non-command characters (no-ops, i.e. do nothing) and therefore can serve as comments in the program.
Because you need to return the first
n
rows. The first row is1
, the second row is1,1
, so forn = 2
, you need to return both rows:[1, 1,1]