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.
@akar-0 that is exactly what happened. I remember I ended using another way to calculate what you're describing.
@radhikabhat431 Yep, I did.
dst
is already a pointer they're passing it you as a parameter, for some reason. Otherwise, you could return any pointer you shall allocate yourself, couldn't you?It might be better to use
snake_case
for the solution function definition in the Elixir's version:I think it would confuse less to new programmers (and experimented ones) due to standard coding style.
I think this is the best practice, isn't it? Is there something wrong with this?
You've inspired me, men!
Another classic one!
Thanks for taught me something new! :v
The ol' reliable baby!
I don't understand. I pass all the sample tests, but when I attempt I get:
But I think I'm doing it:
Why is this happening? I'm training in C.
(UPDATE)
I don't know if this help, but I'm getting this on STDERR