Ad
  • Custom User Avatar

    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

  • Custom User Avatar

    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 ?

  • Custom User Avatar
  • Default User Avatar
  • Default User Avatar

    Sample tests:

    tests/Fixture.cs(12,75): error CS0103: The name 'Arr2String' does not exist in the current context
    
  • Custom User Avatar

    Took care of 3 points you raised.

  • Custom User Avatar

    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.

  • Custom User Avatar

    Changed the requirement to "at least 60%" to avoid ambiguity.

  • Custom User Avatar

    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)

  • Custom User Avatar

    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.

  • Custom User Avatar

    It says 51% so 51%. Maybe I should make it 55% or 70% to make the intention clearer.

  • Custom User Avatar

    I'm looking for a way to bridge an existing gap between the existing CodeWars Katas

    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:

    1. https://www.codewars.com/kata/54edbc7200b811e956000556
    2. https://www.codewars.com/kata/576bb71bbbcf0951d5000044
    3. https://www.codewars.com/kata/605ae9e1d2be8a0023b494ed
      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.
  • Custom User Avatar

    The topic in the kata is easily covered by https://github.com/codewars/content-issues/issues/110.

  • Custom User Avatar

    if is at least 51% of the non absent votes are yes

    This is not tested. "y is more than n" is different from "y is at least 51%" since y can be, like, 50.5%.

  • Custom User Avatar

    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...