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.
Int input is a strange solution in this case. I will try to explain. What is (int)945? I guess it could be 945 minutes => 3:45 pm. That makes sense. If you're combining digits that don't relate to each other as numbers into one value, it should be a string.
You can make translation of this kata https://www.codewars.com/kata/59b0ab12cf3395ef68000081
You are right, especially regarding this one: https://www.codewars.com/kata/578fe7e2149935740f000525
I tried hard finding similar ones before posting.
I would appreciate if you could tell me if there's a way to detect that illegal code was used (Linq's OrderBy, other array sorting).
Shouldn't the MaxTime be sufficient to detect this such less performant code ?
Fixed it.
This looks pretty much the same as
https://www.codewars.com/kata/578fe7e2149935740f000525
and
https://www.codewars.com/kata/558fc85d8fd1938afb000014
Sample tests:
Took care of 3 points you raised.
I don't do C#, however in many (most?) languages, iterating through a list/array is just as easy, if not easier, than iterating through a string. The return value of these is usually an int. This kata also requires building up int values, it then requires doing some simple math at the end to convert to boolean. This kata is inherently more difficult, than at least some of the kata I listed.
Edit: Notice that out of 6 rank assessments so far, the average rank is actually currently sitting at 7kyu.
Changed the requirement to "at least 60%" to avoid ambiguity.
All these character counting are at higher level.
Even the simplest one, ranked at 8sku relies on some data structures (other than just a string, bool)
Thanks for bringing forward these examples, but these demonstrate my point as they require a function that gets a list or an array...This requires more knowledge. The return value is also not just boolean.
Nevertheless, I'll avoid authoring for now. It seems what I'm doing is not as useful as I thought it is.
It says 51% so 51%. Maybe I should make it 55% or 70% to make the intention clearer.
Hi @3strategy, I just want to bring up, that I don't think there is as much of a gap in the kata range as you think there is. Sure, there are almost no kata for people who've never touched programming before, since they are still required to at least know what a function is in order to solve. However this kata also requires that. Kata at the 8kyu level are exactly what you are looking for, they deal with basic
for
loops, simple arithmatic, and basic language mechanics.As some examples, I've found 3 kata which require very similar skills as this kata does:
The last one is actually 7kyu, but the additional difficulty is mostly to do with the logical difficulty of working out how to approach the problem, rather than the coding itself.
The topic in the kata is easily covered by https://github.com/codewars/content-issues/issues/110.
This is not tested. "
y
is more thann
" is different from "y
is at least 51%" sincey
can be, like, 50.5%.Hey again,
I didn't write the comment to argue about it, but here's my perspective:
In brief, CodeWars is a training platform, not a teaching platform. Even the easiest exercises involve writing functions, which assumes some prior knowledge about a language (more so for languages like C# or java that involve classes). This means CW isn't tailored to absolute beginners, and there may be better platforms out there to reach this starting level (among numerous tutorials available).
Now more importantly, as a beta reviewer, it is expected of me and others to evaluate flaws of submitted katas like yours. When these flaws are too obvious, some might not bother to leave a review... just downvote and move on. In the case of this kata, and some of your previous ones: there's clearly kata already available that are, if not 100% duplicates, at least very close to it. Having another kata that expects the same thing as some others adds no real value to the platform. A certain level of quality is expected to get a new kata approved.
Finding the exact duplicate can be PITA because quite often katas have weird names or no tags, but some users who solved thousands of katas can recall solving the exact (or similar) one before. Essentially your kata is about counting characters, and that has been done far too many times. The definition of a duplicate kata may vary between reviewers, but I believe there's an intuitive baseline for it, and this kata fails to overcome it.
I agree that your initiative should be welcome, but at the same time, you got to provide something at least slightly unique, and not slightly modified copies. For that, you can write translations to existing katas. Beta kata process is harsh, but that's the only way to ensure acceptable level of quality for newly added content.
Loading more items...