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.
What?
You can do that?
Is there a way this could be done more consisely?
LMK
I left my debug code in there.
Whoops.
I just realized I programmed this in such a way that if the target is shorter then the length of the numbers arrat and the answer is not found within the target number of steps that the code will fail.
welp
A fix would be replacing math.abs(target) with numbers.length.
Don't know how to edit my previous solution. shrug