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.
That's how I interpreted it too.
From the description, I would think that not to stop when the number become
1
, but keep1
,4
,2
,1
,4
,2
,1
, ...This would lead to wrong answer for cases
1
and2
.thanks, I did'nt think abot that as a viable option facepalm I've made the change now :D
You can create a reference_solution_function to generate correct answer instead of using a very long dictionary.