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.
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.The checker function is very slow, takes almost 5 secs in itself. Use a more performant solution (find one in the solutions :-)
The predefined
wordset
can be overwritten: see my solutionHi,
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.
> please solve this kata without using the
str()
function and if you know how to disable thestr()
function, please edit the kata and disable itOr 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.
Hi, look at these katas. Regards, suic
It's pretty much a duplicate
None of the issues were fixed.