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.
[float('inf')]
approved
ok, I'll do it
since the output string is always shorter than the input, i think it would be better to make the user function mutate a single input/output argument rather than having 2 arguments for input and output. this would avoid the usual difficulty when passing an output buffer: you have to tell users how large exactly the buffer is going to be, as this can restrict some ways of writing the function.
approved
Approved.
Makes sense. Thanks for the provided translation.
Dumb mistake by me. Fixed.
It should generally be understood by site practitioners that the description should be universal (language agnostic) and as such when looking at data the type used is not critical, so long as the specs are clear for the user to comprehend and procede coding in the language of their choice.
Otherwise it becomes very messy in terms of maintaining the description as new languages are added.
[[]]
is a1x0
matrix, not anNxN
matrix.C Translation
You probably should have changed the square braces
[]
to the curly braces{}
in the description. Aside from that, everything seems fine.you shouldn't post code like that; anyone can see it.
I added the spoiler flag to your comment
What would the expected return value be if the input was
null
?approved
Loading more items...