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 think i'm to blame for the confusion, a week ago or so i added
if:c
andif:javascript
markdown blocks to the description because C returns astruct
and returns{-1,-1}
in case of missing/multiple 'x's. i just edited the description again to replace theif:javascript
byif-not:c
now that there are more than 2 languagesI added some remarks on the translation page.
Your return type is a 1-D array containing both x and y coordinates, which is different from other translations that return a 2-D array, each containg (x,y) pairs.
Did you invent this spec?