Ad
  • Custom User Avatar

    I think that it is not possible to change the level.

  • Custom User Avatar

    Some not very clever people post codewars solutions on github, there are whole collections of them. So if someone wants he can nearly always find it.

  • Custom User Avatar

    Really description isn't needed, the test are self-descriptive.

  • Custom User Avatar

    You should have added fractions, now it's 8kyuish)

  • Custom User Avatar

    Nice kata! Trained optional capitalizing)

  • Custom User Avatar

    Yes, that's not debugging, that's rewriting) But at least it's another good chance to get along with date object)

  • Custom User Avatar

    Still ", as well as given the door which includes the price." in the end in JS version

  • Custom User Avatar

    Java:

    • tests emit warnings to STDERR:
      Note: src/test/java/Tests.java uses unchecked or unsafe operations.

      because of this line:

      public void emptyListTest() {
        new CircularList();
      }
      

      (CircularList is a raw type and needs to be parameterized).

    • Your list constructor/init code should throw an Exception if nothing is passed in.

      is really misleading, since literally throwing a new Exception() does not compile, as it is a checked exception and the tests do not catch it.

    • In the initial code, the constructor of CircularList should probably be annotated with @SafeVarargs to avoid a warning.

  • Custom User Avatar

    But this is a perfectly valid protocol for circular lists? One of a few possible, but still, a good one. It is also very clearly defined and well described.

  • Custom User Avatar

    Why on Earth first next() invocation gives first element (not second), but first prev() invocation gives last element? The behavior of next() is not consistent! Just delete this kata. Why there is a place for bad design and teaching of bad practices on this site?

  • Custom User Avatar

    This kata is only about vague description.

  • Custom User Avatar

    Recursion is more resource-comsuming, than simple cycle, recursion is to make code look clearer, never faster.

  • Custom User Avatar

    While submitting SQL solution I got (on attempt) errors several times, then eventually these errors were gone and I was able to submit. Seems not is ok here.

  • Custom User Avatar

    Just annoying one. When the kata is by itself easy but you have to do thousand of checks and the description is far from clear I call this bad style.

  • Custom User Avatar

    Just look at the tests. Where there are words (sequence of a-z chars) in string, make them alternate case (upper - lower - upper - etc). That's ALL. Don't even try to read this War and Peace by Tolstoy in description.

  • Loading more items...