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.
Yes. Those characters must be dealt with by ignoring them. (a problem I had with the final submission)
ex: "++st+" would mean incrementing memory by 3.
ex: "+++" would mean incrementing memory by 3.
Athough I believe the submission tests did not have the following input (in Swift), i believe the algorythm should also be able to handle super long increment input like:
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
This above is 528 increments... which should be the letter "H". (Hint, modulo)
@KH!,
May you please post your solution here and mark it as a spoiler? That way, I'll be able to test your solution and perhaps help you debug it.
Cheers,
donaldsebleung
![alt text](address)
credit to rsnake
Cool, then I started rewording your description.
Next steps are adding random test cases and deciding what happens when more replies have the same number of occurrences; I would pick the first one, discarding the note in the description in which you say "order does not matter", but you will be the judge here.
Cheers :)
Do you mean an individual or a collective? If you mean everybody, then you can just go to the "Solutions" tab on the Kata. If it's an individual:
1.) If they have made a comment on a Kata/Kata solution, you can click "View Solution" under their comment.
2.) If they have completed a Kata and you want to see their solution directly I can only think of one way. The only way is to follow them, then go to the Kata solutions, then click "Solutions of Users I am Following" and find the solution from that user.
3.) Otherwise, you have to search manually in the Kata solutions tab from the Kata.
https://www.codewars.com/kata/5943f1d6ed724ca56f000022
Fix the shared link. The correct is this one, without /edit/python
Quoting from the Kata Description itself:
Hope this answers your question :D
The order is very very important. If you don't know what the order is, perhaps you can not pass the tests ;-)
Which part don't you understand?