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.
For someone like me teetering the edge of beginner, could you point to a good starting resource for what is being discussed here? Bitwise operators are way above me
I needed your explanation (and paper/pen) to understand it. Thank you.
I only try to explain the swap mechanism because it took time for me to understand, so I made the post because newbies could understand. Sorry I am a teacher.
But you are right, no checking of the parameters is always a bad thing.
The variable names tell you the truth. lol
First code in spanish i see
Clever it might be. But you better be sure that
p1
andp2
can never point to the same memory location before even thinking about this.I think this kata is difficult for a 8 kyu at least in C.
What do u think about?
This comment is hidden because it contains spoiler information about the solution
Thanks, for the answer, I understand know how it works.
The problem is that I can't see the '\u200D' chars in the string. But if I test the length of the string 'onyirmiotuzkırkellialtmışyetmişseksendoksan' the chars are there. I don't know if it's a matter of the browser or the system or it's typed in a way that the chars are hidden. In any case is a clever solution, but in my point of view not didactic at all.
'\u200d' ZERO WIDTH JOINER
Someone more clever than I could ilustrate how the split function works in these strings?
I don't see the way it can convert that in an array of the number words. Where are the separators? hidden? What am I mising?
I tested the code and it works. I tested alone the split part and it works, but I can't figure out how.
Thanks for the answers.
I'm going to give up this one for a while, until I get better skills.
https://github.com/codewars/codewars.com/wiki/Kata-Ranking
Ofc they are 8kyu easiest -> 1 kyu hardest
This comment is hidden because it contains spoiler information about the solution