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.
IKR. Got confused by a sec reading the code.
This comment is hidden because it contains spoiler information about the solution
it's out of brain
tu prueba esta mal, estás pasando
([1, 2, 3], [3, 4, 5])
(un tuple con dos listas) a la función. La función está duplicando cada elemento del tuple (cada lista) Por eso lo que te salió fue cada lista duplicada ([1, 2, 3] * 2 = [1, 2, 3, 1, 2, 3]
)This comment is hidden because it contains spoiler information about the solution
I love this! Thanks for teaching me a new function. :)
beautiful
i like that you considered a class for this, but it's overkill
beautiful!
This comment is hidden because it contains spoiler information about the solution
Mutating an argument is the worst thing you can do.
This comment is hidden because it contains spoiler information about the solution
Its not. Very simple bcoz using just a single mehod that returs 0 if negative or an addition result. Very logical and concise solution.
Nice ,short, and clean code congratulation !!
chars argument is a pointer to a constant characters i.e., you cannot modify the contents of address to which it points to but can modify what string it points to
Loading more items...