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'll try do my best
IMHO. Code Style is not good
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
you know we had to do it to em
this kind of code hints that we don't have friends. wakarimasu
Not gonna lie, it was quite difficult
very creative
Clever, but I think regex would be unnecessary no?
Precisely, excellent point. And if all I can keep is the feeling of a ominous, uncertain problem, I will try to keep it that way :)
I was doing this kata in JavaScript, and I believe the test that initially failed and then passed dealt with backstage passes. Unfortunately, I do not recall the input or output, as I was expecting to see that failed test a second time and didn't note it.
In reference to giving the kata an "interview feel", I have had several interviews like this and am generally told that the purpose of the question is not only to see how the candidate solves the problem but how he/she interacts with the team/individual asking the question. These tend to be "social" or "culture" type questions, rather than hammer-at-it-until-it-breaks type questions. Generally, the purpose is to work collaboratively with those asking the question - which is not possible in this format.
Care to give something more specific about the broken test cases, including language, input and wrong output that passes it :)?
And, as I mentioned, the goal in this kata is also to give some ambiguous direction to see how users manage to figure it out by themselves: I don't think I have done it elsewhere and I wanted to keep the interview feeling that I got getting this in an actual interview - that's all :)
Hi,
I enjoyed the Kata, but wanted to raise an issue. Since the tests are random, it is possible that an incorrect solution will be accepted and appear in the solved answers portion. I had an answer that came up with a failed test and resubmitted my answer to see if other tests would fail when it came up passing all tests. I then attempted to rerun it but all the tests passed and my answer was accepted. Rather than offering randomized tests, you should make sure your tests cover all acceptance criteria. The purpose of a kata isn't to trick the participant or show that you can be more clever. The instructions should be clear and the tests should be complete and consistent. To that end, as a native English speaker and a linguist, I agree that the use of "the quality of an item can never be negative or increase beyond 50" is ambiguous, as it doesn't address what should happen if the value is already above 50. The instructions do imply that the value cannot exceed 50 - particularly since this is supposed to be a replacement for the existing store management system, which should have also followed these rules. As it is written, it is hard to imagine anyone successfully completing this kata without receiving feedback from the test results. Thanks!
Do all solutions get re-run after changes to a kata's tests? Are points revoked for newly failed solutions?
Hi xcthulhu, I don't know if you've noticed but there are several cheating solutions under JavaScript and Python. Thanks.
Loading more items...