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.
'alr approved some time ago'
Minor nitpick on the description-- What we are looking for is the number of permutations or unique sequences, not combinations.
Nitpicking aside, I really enjoyed the kata! Easy to understand, not as easy to solve.
Thank you!
I am sorry, want just know why I am able to pass all your tests besides your sample.
1- It is a question not an issue.
2- 1165 guys passed the Java kata (see at the top of the page), if there were errors somebody would have seen them.
3- There are more fixed tests when you "SUBMIT" than in sample tests.
4- I tried a few solutions and all was fine.
5- You code could be wrong:-(
I do not know what happanes but when I run your sample tests it pases it, but when I run ussual testes it passes all the random tessets and fails at your sample test. ( 0! error )
It works in Net Beans.
[Java]
Yeah that What I mean Description is needlessly complex, As I said the task it self was stright forward after you will undestant what it wants from you.
I would edit my orginal comment to make it more clear but it seems I can't.
New R translation, awaiting review!
The Description markdown works fine inside the edit page but it's all messed up on the Kumite summary page. Which should I believe? I could always leave it as-is with the simple code block, but the existing example could be confusing to a new programmer with R as a first language.
I'd say it's appropriate based on the Wiki:
This one meets the second and potentially the first bullet points. I agree that the language of the setup is less than clear. For example using "s1" as an example input but "a1" as the predefined function input could be needlessly confusing.
edit: on a second look, I now realize that the problem with the description is "call this x and call this y and here's a formula relating the two". Yeah, that's obnoxious. I've spent enough time in math books that I didn't really notice, but for a beginner that's a very unintuitive way to describe what should be an intuitive task.
I have a pending translation for R if anyone wants to check it out and maybe approve. I think technically I can approve it myself but it's my first translation... I'd rather have another set of eyes.
LINK
Basically cloned the Python version and added some random tests.
I really liked this kata! 2 related thoughts:
1.) One of my attempts was rejected because I did not put a pause between consecutive 1 presses. My reasoning is, since the 1 key only produces a single character, a pause should be unnecessary. I don't recall whether this was actually the case with my old flip phone though.
2.) The * and # characters do not appear to be included in the random test cases. The kata's solution code puts pauses between these as well, so I may need to amend my answer if the tests are updated to include these.