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.
.
False
)aabbcc
style isograms ("each letter appears the same number of times, not necessarily just once")Cheers
It is the name of my cat.
And as it does not exist, when I evoke it, it indeed raises an error: it is kinda of a hack for that ;)
Hi, the input list mustn't be modified (see the explation below.). I added it to the description. Regards, suic
I cannot reproduce the error: which language and can you post your code under a spoiler tag?
Edit: made small fixes to check if it was a remote case; let me know if it works now
The final swap swaps positions 0 and 1. But at this point the ball is under position 2. The shell at position 2 is not involved in the swap, so the ball doss not move.
Thank you :)
Try again! I tried your code as-is, and it passes all the test cases!
Just check whether you have
import java.util.*;
import java.util.stream.*;
SumofN
inside a java classpublic class SequenceSum
The fact that you had to read the question multiple times means that you should haver or better retension ot better comprehension. Codewars Katas are designed for TDD hence not to provide a lecture on some topic. I dind't wrote the phyton version, so if you had doubts on that don't blame me, the person that kindly helped me to translate this Kata may help you if he likes to, otherwise you'll have to google for it or ask for help sending a Question in your very own separate thread and adding the tag
Question
to it to ask public kindness consisnting on helping you. I can't edit anymore the kata to prevent that dumb solutions like yours pass at the first trial so sorry but you will have to lear more on this topic for your own. Already filled an issue but got absolutely no reponse. I'm not getting paid a dime for this so I hope you understand that I will not even try to read your mind to make this kata as helpful as you and anyone need or like so please be concise with what you want to be changed and how you want it to be changed or you'll be wasting my time. Enjoy :)@Javatlacati
The fact that I'm having to reread the question multiple times is a start. You mention static methods are needed, but you provide no explanation. The katas on Codewars are not designed for a user to put a short snippet of "print hello world oh maybe use static... might be needed". Instead... for each language you build for you're supposed to define a little bit of what a static is. Provide some helpful resources. Yes. I learned that python actually had a static method decorator, but I have no idea why it was necessary for this test to pass. My function definition did exactly what the rules asked. If your intention is to cause difficulty through obfuscation, you're doing a great job at it.
Hey! It's just a hint and you should understand on your own taking help from the examples.
Thanks
what kind of information? I already added the procedural tag, writed that thw app should be in main mode, that it should receive parameters for calling as in an example code and that must print the line Hello world... what else you cosider is missing?
Did the Javascript version. Honestly it isn't exactly clear right away what you're wanting. I'm not a beginner, but I had to read these comments to make sure I was approaching the right answer. I would recommend some sort of information since this is an 8kyu task.
mor explanation on which language, you want it to have more explanation could be useful ;)
Thank you for considering my kata :)
Loading more items...