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 it would have been better if you had tried to get to the algorithm properly. You would have learned more. Using the solution is good when you already know how to get to the solution.
A little disappointing to see that there is already a solution to the problem. Surely that function uses the same algorithms that we are supposed to write. But using this solution takes away all the fun from the problem. It's literally like writing a "hello world." The only value of the kata itself is having discovered that this function exists, I guess.
Humm? Is not your own solution read through the string a lot mor of times? doing a cicle for you are reading the string mor than once for each character.
Why set such conditions in the first place?
Kata is only for experience, in reality you get slapped on hand for doing like this solution.
How I can blocked exersise from this 'coder'?
This comment is hidden because it contains spoiler information about the solution
thanks for the explanation!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
i spent an hour trying to use logarithms and weird stuff to manually turn decimal to binary the way i would with pen and paper before i remembered you could just do this... im gonna cry
You don't have to worry with strings with less than two characters.
Did you forgot this rule? If you put 1 or 0 symbols it returns "" but should return the same string.
This comment is hidden because it contains spoiler information about the solution
Cool! I didn't know about this method
Amazing bro ! Best Practise
This comment is hidden because it contains spoiler information about the solution
I mean it works as you say. Plus, this is common behavior. C and C++ return the same. You'd be adding extra code to handle something that is internally handled for you.
Loading more items...