Ad
  • Custom User Avatar

    The tests are improperly set up: it only tests words of at most 8 letters long, which means at least half of the words in wordset are irrelevant for the test cases.

  • Custom User Avatar

    The checker function is very slow, takes almost 5 secs in itself. Use a more performant solution (find one in the solutions :-)

  • Custom User Avatar

    The predefined wordset can be overwritten: see my solution

  • Custom User Avatar

    Hi,

    We already have some katas related to this one (here and here). Yours goes a tiny bit further, but since it's only about calling a builtin inside a loop, I don't feel it like different enough.

    In addition to that, some of your requirements are untestable: you're asking for a dict, but you're talking about ordering the items. That's inconsistent: dicts aren't compared according to the order of the items, but only their presence/equality. So either you ask for a list of tuples, or you remove this requirement (it's actually testable, but would need an extra check and, either way, if you wanna something ordered in a usable way, don't use dicts). Note that going to a sorted list unforuntaly won't change the overall "too close to a duplicate" problem.

    Note: use the new test framework, when you author a kata, plz.

  • Custom User Avatar

    > please solve this kata without using the str() function and if you know how to disable the str() function, please edit the kata and disable it

    Or in other words, it can't be enforced, and is a bad idea? In general a requirement that can't be enforced is a big issue, since kata are run by TDD and anything not explicitly tested is free game.

    If your kata relies on forbidding the use of converting from integer to strings, you either need to use a proper language for that (like C), or you need realize that it's probably not worth making a kata out of the apparently shallow cleverness of the idea anyway.

  • Default User Avatar

    Hi, look at these katas. Regards, suic

  • Custom User Avatar

    It's pretty much a duplicate

  • Custom User Avatar

    None of the issues were fixed.